]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_payouts.php
Comments fixed, ext-network continued, fix for mod stats:
[mailer.git] / inc / modules / admin / what-config_payouts.php
index b0c094b86a98319e442937c31c2ec0bdcdec5187..41ddaf47fb44b64ca6dfcf9549a5b1f2a5e44f8c 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /************************************************************************
- * MXChange v0.2.1                                    Start: 04/11/2004 *
- * ================                             Last change: 08/12/2004 *
+ * Mailer v0.2.1-FINAL                                Start: 04/11/2004 *
+ * ===================                          Last change: 08/12/2004 *
  *                                                                      *
  * -------------------------------------------------------------------- *
  * File              : what-config_payouts.php                          *
@@ -50,7 +50,7 @@ if ((isPostRequestElementSet('add')) && (isPostRequestElementSet('title')) && (p
        // Add new payout type
        $result = SQL_QUERY_ESC("SELECT `id` FROM `{?_MYSQL_PREFIX?}_payout_types` WHERE type='%s' LIMIT 1",
        array(postRequestElement('title')), __FILE__, __LINE__);
-       if (SQL_NUMROWS($result) == 0) {
+       if (SQL_NUMROWS($result) == '0') {
                // Add now
                SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_payout_types`
 (type, rate, min_points, from_account, from_pass, engine_url, engine_ret_ok, engine_ret_failed, pass_enc, allow_url)
@@ -91,7 +91,7 @@ if ((isPostRequestElementSet('edit')) && (countPostSelection() > 0)) {
 
                // Edit entries
                foreach (postRequestElement('sel') as $id => $sel) {
-                       // Secure ID
+                       // Secure id
                        $id = bigintval($id);
 
                        // Edit only if something is entered
@@ -166,7 +166,7 @@ WHERE `id`='".$id."' LIMIT 1",
                $display = false; //Suppress any other outputs
                $OUT = ''; $SW = 2;
                foreach (postRequestElement('sel') as $id => $sel) {
-                       // Secure ID number
+                       // Secure id number
                        $id = bigintval($id);
 
                        // Load data