]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_points.php
Fix for fix... :(
[mailer.git] / inc / modules / admin / what-config_points.php
index d45ef8dc92623a2f4446cb3a456c98fb7f9df62b..c43f40a6e613bbbcc70495de1430d0485986893b 100644 (file)
@@ -86,7 +86,7 @@ if (isFormSent()) {
 
                                case 'edit': // Change entries
                                        foreach (postRequestElement('level') as $id => $value) {
-                                               // Secure ID
+                                               // Secure id
                                                $id = bigintval($id);
 
                                                // Revert german commata
@@ -135,8 +135,8 @@ WHERE `mails_confirmed` < %s", $REF, $REF));
 
        if ((isSqlsValid()) && (isSqlsValid())) {
                if (strpos($GLOBALS['sqls'][0], 'INSERT') > -1) {
-                       $result = SQL_QUERY_ESC("SELECT `id` FROM `{?_MYSQL_PREFIX?}_refdepths` WHERE level='%s' LIMIT 1",
-                       array(bigintval(postRequestElement('level'))), __FILE__, __LINE__);
+                       $result = SQL_QUERY_ESC("SELECT `id` FROM `{?_MYSQL_PREFIX?}_refdepths` WHERE `level`='%s' LIMIT 1",
+                               array(bigintval(postRequestElement('level'))), __FILE__, __LINE__);
                        SQL_FREERESULT($result);
                } // END - if
 
@@ -220,7 +220,7 @@ WHERE `mails_confirmed` < %s", $REF, $REF));
                                'sw'       => $SW,
                                'id'       => $id,
                                'level'    => $content['level'],
-                               'percents' => translateComma($contentp['percents']),
+                               'percents' => translateComma($content['percents']),
                        );
 
                        // Load row template and switch color