]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-edit_emails.php
Old config.php is now automatically updated to new config-local.php format, several...
[mailer.git] / inc / modules / admin / what-edit_emails.php
index 3ac617bee570beab991fef8cfe8b7b1755410868..264bb43b5ca9c6736cb3f7cab93de2b963c80041 100644 (file)
@@ -54,7 +54,7 @@ if (SQL_NUMROWS($result) > 0) {
        if (IS_FORM_SENT()) {
                // Make mail editable...
                $result = SQL_QUERY_ESC("SELECT subject, text, url FROM `{!_MYSQL_PREFIX!}_pool` WHERE `id`=%s LIMIT 1",
-                array(bigintval(REQUEST_POST('id'))), __FILE__, __LINE__);
+               array(bigintval(REQUEST_POST('id'))), __FILE__, __LINE__);
                list($subj, $text, $url) = SQL_FETCHROW($result);
                SQL_FREERESULT($result);
                // @TODO More constants to rewrite
@@ -72,12 +72,12 @@ subject='%s',
 text='%s',
 url='%s'
 WHERE `id`=%s LIMIT 1",
- array(
-       REQUEST_POST('subj'),
-       REQUEST_POST('text'),
-       REQUEST_POST('url'),
-       bigintval(REQUEST_POST('id')),
-), __FILE__, __LINE__);
              array(
+               REQUEST_POST('subj'),
+               REQUEST_POST('text'),
+               REQUEST_POST('url'),
+               bigintval(REQUEST_POST('id')),
+               ), __FILE__, __LINE__);
 
                if (SQL_AFFECTEDROWS() == 1) {
                        $content = getMessage('SETTINGS_SAVED');