*
* @license http://nucleuscms.org/license.txt GNU General Public License
* @copyright Copyright (C) 2002-2012 The Nucleus Group
- * @version $Id: ACTIONS.php 1784 2012-04-22 04:28:30Z sakamocchi $
+ * @version $Id: ACTIONS.php 1863 2012-05-19 10:50:27Z sakamocchi $
*/
class Actions extends BaseActions
{
return $blog->isValidCategory($catid);
}
-
// check category name
- if ( $name == 'catname' )
+ else if ( $name == 'catname' )
{
$value = $blog->getCategoryIdFromName($value);
if ( $value == $catid )
return $blog->isValidCategory($catid);
}
}
-
// check category id
- if ( ($name == 'catid') && ($value == $catid) )
+ else if ( ($name == 'catid') && ($value == $catid) )
{
return $blog->isValidCategory($catid);
}