]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/earning_functions.php
Fixes for #226, renamed function:
[mailer.git] / inc / libs / earning_functions.php
index 0209841f569ab7b518e1de70914046ea1c8a38fc..7beda4063751fa2e375e62606d0338545a498c5f 100644 (file)
@@ -16,7 +16,7 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
+ * Copyright (c) 2009 - 2012 by Mailer Developer Team                   *
  * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -153,7 +153,7 @@ function updateMemberEarning ($earningId, $dailyAmount, $isActive = 'Y') {
        // Does the user cancel the earning?
        if ($isActive == 'N') {
                // Then update cancellation timestamp as well
-               $moreSql = ', `earning_canceled`=NOW()';
+               $moreSql = ',`earning_canceled`=NOW()';
        } // END - if
 
        // Update database record
@@ -173,7 +173,7 @@ LIMIT 1", array(
                getMemberId()
        ), __FUNCTION__, __LINE__);
 
-       // Determine wether something has changed
+       // Determine whether something has changed
        $status = (!SQL_HASZEROAFFECTED());
 
        // Has the record changed?