]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/sponsor_functions.php
Complete rewrite and debug message surpressed:
[mailer.git] / inc / libs / sponsor_functions.php
index 5dd6d1aa713403bbd698baa82250ae154cf279da..edd70710bf42201e6cc37338af9129dab5ce3d05 100644 (file)
@@ -194,20 +194,20 @@ function SPONSOR_HANDLE_SPONSOR (&$POST, $NO_UPDATE=false, $messageArray=array()
                        if (!empty($sql)) {
                                // Run SQL command
                                $result = SQL_QUERY_ESC($sql, $DATA['values'], __FUNCTION__, __LINE__);
                        if (!empty($sql)) {
                                // Run SQL command
                                $result = SQL_QUERY_ESC($sql, $DATA['values'], __FUNCTION__, __LINE__);
-                       }
+                       } // END - if
 
                        // Output message
                        if ((!$NO_UPDATE) && (IS_ADMIN())) {
                                LOAD_TEMPLATE('admin_settings_saved', false, $message);
 
                        // Output message
                        if ((!$NO_UPDATE) && (IS_ADMIN())) {
                                LOAD_TEMPLATE('admin_settings_saved', false, $message);
-                       }
+                       } // END - if
                } else {
                        // Error found!
                } else {
                        // Error found!
-                       $message = SPONSOR_GET_MESSAGE(getMessage('SPONSOR_DATA_NOT_SAVED'), "failed", $messageArray);
+                       $message = SPONSOR_GET_MESSAGE(getMessage('SPONSOR_DATA_NOT_SAVED'), 'failed', $messageArray);
                        LOAD_TEMPLATE('admin_settings_saved', false, $message);
                }
 
                // Shall we return the status?
                        LOAD_TEMPLATE('admin_settings_saved', false, $message);
                }
 
                // Shall we return the status?
-               if ($RET_STATUS) return $ret;
+               if ($RET_STATUS === true) return $ret;
 }
 //
 function sponsorTranslateUserStatus ($status) {
 }
 //
 function sponsorTranslateUserStatus ($status) {