]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-payments.php
More constant rewrites
[mailer.git] / inc / modules / admin / what-payments.php
index d3a8c4f4b8261bfd1ff2382881f58b2ee8c7192c..0b2c08ff71482498812ecb34444dbfb04392aae5 100644 (file)
@@ -75,7 +75,7 @@ if (IS_FORM_SENT()) {
        // Save settings
        if (COUNT_SQLS() > 0) {
                // Run all queries
-               RUN_FILTER('run_sqls', array('dry_run' => false));
+               runFilterChain('run_sqls');
                $content = "<span class=\"admin_failed\">".SETTINGS_SAVED."</span>";
        } else {
                // Nothing has changed!
@@ -84,7 +84,7 @@ if (IS_FORM_SENT()) {
 
        // Output template
        LOAD_TEMPLATE("admin_settings_saved", false, $content);
-} elseif ((REQUEST_ISSET_POST(('del'))) && (SELECTION_COUNT(REQUEST_POST('sel')) > 0)) {
+} elseif ((REQUEST_ISSET_POST('del')) && (SELECTION_COUNT(REQUEST_POST('sel')) > 0)) {
        // Delete entries here
        $SW = 2; $OUT = "";
        foreach (REQUEST_POST('sel') as $id => $value) {
@@ -109,7 +109,7 @@ if (IS_FORM_SENT()) {
 
        // Load main template
        LOAD_TEMPLATE("admin_del_payments");
-} elseif ((REQUEST_ISSET_POST(('edit'))) && (SELECTION_COUNT(REQUEST_POST('sel')) > 0)) {
+} elseif ((REQUEST_ISSET_POST('edit')) && (SELECTION_COUNT(REQUEST_POST('sel')) > 0)) {
        // Edit entries
        $SW = 2; $OUT = "";
        foreach (REQUEST_POST('sel') as $id => $value) {