]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-admins_mails.php
More fixes for rallye prices
[mailer.git] / inc / modules / admin / what-admins_mails.php
index 16e4a6a3950e0777b4432b4825de5d5399a3f9d7..9e582cac8ee340129112f5a1088f871504bcd5fe 100644 (file)
@@ -60,7 +60,7 @@ if (isPostRequestElementSet('edit')) {
                                // @TODO Can this be rewritten???
                                $OUT .= "<select name=\"admin_id[".$content['id']."]\" size=\"1\" class=\"admin_select\">
 <option value=\"0\"";
-                               if ($content['admin_id'] == '0') $OUT .= ' selected="selected"';
+                               if ($content['admin_id'] == 0) $OUT .= ' selected="selected"';
                                $OUT .=">{--ADMINS_ALL_ADMINS--}</option>\n";
                                if (isExtensionActive('events')) {
                                        $OUT .= "<option value=\"-1\"";
@@ -127,7 +127,7 @@ ORDER BY
 
                        // Ok, update database
                        foreach (postRequestElement('admin_id') as $id => $content['admin_id']) {
-                               // Secure IDs
+                               // Secure ids
                                $id  = bigintval($id);
                                $content['admin_id'] = bigintval($content['admin_id']);