]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_cats.php
mailer project continued:
[mailer.git] / inc / modules / admin / what-config_cats.php
index 5fd1ef8f9290033beaceccbcae8317b51b051c67..0cd9676bc761b190e971eccb0078b629322245e4 100644 (file)
@@ -17,7 +17,7 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
+ * Copyright (c) 2009 - 2012 by Mailer Developer Team                   *
  * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -70,7 +70,7 @@ if (isFormSent('add')) {
 
        // Display message
        displayMessage($content);
-} elseif ((isFormSent()) && (isPostRequestElementSet('id')) && (is_array(postRequestElement('id')))) {
+} elseif ((isFormSent()) && (ifPostContainsSelections('id'))) {
        // Change or delete categories...
        $TEXT = '';
        foreach (postRequestElement('id') as $id => $cat) {