]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/admin-inc.php
Was missing :(
[mailer.git] / inc / modules / admin / admin-inc.php
index a9ba79610137c0a415f9006d98b13535aaa9573b..505bcc0f82e90b90a9bd1a9ae52b4d4f9834a475 100644 (file)
@@ -495,7 +495,7 @@ ORDER BY
        while ($content = SQL_FETCHARRAY($result)) {
                //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'userid=' . intval($userid) . '/' . $content['userid']);
                $OUT .= '<option value="' . bigintval($content['userid']) . '"';
-               if (bigintval($userid) === bigintval($content['userid'])) {
+               if (bigintval($userid, FALSE, FALSE) === bigintval($content['userid'])) {
                        $OUT .= ' selected="selected"';
                } // END - if
                $OUT .= '>' . $content['surname'] . ' ' . $content['family'] . ' (' . bigintval($content['userid']) . ')</option>';
@@ -574,7 +574,7 @@ function adminSaveSettings (&$postData, $tableName = '_config', $whereStatement
        //* BUG: */ reportBug(__FUNCTION__, __LINE__, '<pre>'.print_r(postRequestArray(), TRUE).'</pre>');
        foreach ($postData as $id => $val) {
                // Process only formular field but not submit buttons ;)
-               if ($id == 'ok') {
+               if ($id =='save_config') {
                        // Skip this button
                        continue;
                } // END - if