Large code cleanups:
[mailer.git] / inc / libs / earning_functions.php
index 0209841f569ab7b518e1de70914046ea1c8a38fc..2507db9257217a797418e675f9a86386c586fdbe 100644 (file)
@@ -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