]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/sponsor/settings.php
Even more rewrites/fixes from EL branch (please report any broken part after you...
[mailer.git] / inc / modules / sponsor / settings.php
index acdedf406624c3093ee421a1e7d57a3667ba2607..f49a345912321f9c8795c58b7f23422c7f7befe8 100644 (file)
@@ -58,7 +58,8 @@ $result = SQL_QUERY_ESC("SELECT
 FROM
        `{?_MYSQL_PREFIX?}_sponsor_data`
 WHERE
-       `id`='%s' AND `password`='%s'
+       `id`=%s AND
+       `password`='%s'
 LIMIT 1",
        array(
                bigintval(getSession('sponsorid')),
@@ -111,9 +112,6 @@ if (SQL_NUMROWS($result) == 1) {
                        $content['receive_warnings_n'] = '';
                        $content['receive_warnings_' . strtolower($content['receive_warnings'])] = ' checked="checked"';
 
-                       // Translate current interval into fancy string
-                       $content['current'] = createFancyTime($content['warning_interval']);
-
                        // Output formular
                        $OUT = loadTemplate('sponsor_settings_form', true, $content);
                }