Fix for fatal error and naming convention applied
[mailer.git] / inc / modules / admin / what-config_cats.php
index 7132bfe2392049b2038fe82ec513d68d013a46d6..42e35ff3d078788c0cadbb0212f17c50fa180797 100644 (file)
@@ -68,7 +68,7 @@ if (REQUEST_ISSET_POST(('add'))) {
 
        // Display message
        LOAD_TEMPLATE('admin_settings_saved', false, $content);
-} elseif ((IS_FORM_SENT()) && (REQUEST_ISSET_POST('id')) && (is_array(REQUEST_POST('id')))) {
+} elseif ((isFormSent()) && (REQUEST_ISSET_POST('id')) && (is_array(REQUEST_POST('id')))) {
        // Change or delete categories...
        $TEXT = '';
        foreach (REQUEST_POST('id') as $id => $cat) {