]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-guestedit.php
Code cleanup:
[mailer.git] / inc / modules / admin / what-guestedit.php
index fdab16c8b601170e6be1a3bb8c6131e095fa5cdf..96ec6ce28531e0dae35eb26a1f7c6aeb36d39b4b 100644 (file)
@@ -80,8 +80,8 @@ if ((REQUEST_ISSET_POST('edit')) && ($chk > 0) && (!IS_DEMO()))
                                $DATA = array(
                                        'cnt'    => $cnt,
                                        'sel'    => $sel,
-                                       'action' => ADMIN_MAKE_MENU_SELECTION('guest', "action", "sel_action[".$sel."]", $act),
-                                       'what'   => ADMIN_MAKE_MENU_SELECTION('guest', "what", "sel_what[".$sel."]", $wht),
+                                       'action' => ADMIN_MAKE_MENU_SELECTION('guest', 'action', 'sel_action[' . $sel . ']', $act),
+                                       'what'   => ADMIN_MAKE_MENU_SELECTION('guest', 'what', 'sel_what[' . $sel . ']', $wht),
                                        'menu'   => $menu,
                                        'sw'     => $SW,
                                );
@@ -142,7 +142,7 @@ if ((REQUEST_ISSET_POST('edit')) && ($chk > 0) && (!IS_DEMO()))
 
        // Load template
        LOAD_TEMPLATE("admin_gmenu_delete");
-} elseif ((IS_FORM_SENT()) && (!IS_DEMO())) {
+} elseif ((isFormSent()) && (!IS_DEMO())) {
        // An action is done...
        switch (REQUEST_POST('ok'))
        {