]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-add_rallye.php
More fixes for cache, extension and filter sub-system
[mailer.git] / inc / modules / admin / what-add_rallye.php
index d22abccd5eda15dfb24caebfaee7abd84ce5382b..12fb85f1fad13cdbb80da8bf8b17f57a04f542ed 100644 (file)
@@ -56,7 +56,7 @@ if (isset($_POST['ok']))
                $result = SQL_QUERY_ESC("INSERT INTO "._MYSQL_PREFIX."_rallye_data (admin_id, title, descr, template, start_time, end_time, auto_add_new_user, is_active, send_notify)
 VALUES ('%s','%s','%s','%s','%s','%s','%s','%s','%s')",
  array(
-       GET_ADMIN_ID(get_session('admin_login')),
+       GET_CURRENT_ADMIN_ID(),
        $_POST['title'],
        $_POST['descr'],
        $_POST['template'],