X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Flibs%2Fdoubler_functions.php;h=f13c6cb529b0bccdbf0e66ba581cfca815538ad4;hb=05c5310de0991ba52c441670a315b89ee4f9db12;hp=6b8d7f8b92c563f4474057c561fd605fc2f3110e;hpb=16ee5477c8b098ea37dae85d400b25698235e465;p=mailer.git diff --git a/inc/libs/doubler_functions.php b/inc/libs/doubler_functions.php index 6b8d7f8b92..f13c6cb529 100644 --- a/inc/libs/doubler_functions.php +++ b/inc/libs/doubler_functions.php @@ -1,7 +1,7 @@ 0) { // Load entries only from a single user $add = sprintf(" AND `userid`=%s", bigintval($userid)); @@ -92,11 +92,11 @@ LIMIT ".$limit, __FUNCTION__, __LINE__); // Prepare data for the row template $content = array( - 'userid' => $content['userid'], - 'rid' => $content['refid'], - 'points' => translateComma($content['points']), - 'stamp' => generateDateTime($content['timemark'], $DT_MODE), - 'sw' => $SW, + 'userid' => $content['userid'], + 'rid' => $content['refid'], + 'points' => translateComma($content['points']), + 'timemark' => generateDateTime($content['timemark'], $DT_MODE), + 'sw' => $SW, ); // Load template and switch color @@ -109,7 +109,7 @@ LIMIT ".$limit, __FUNCTION__, __LINE__); } else { // List no entries $OUT = " - + ".loadTemplate('admin_settings_saved', true, $message)." \n"; @@ -122,7 +122,7 @@ LIMIT ".$limit, __FUNCTION__, __LINE__); // function DOUBLER_GET_TOTAL_POINTS_LEFT() { // Initialize variables - $points = 0; + $points = '0'; if (getConfig('doubler_own') == 'Y') { // Take points from doubler's own account