[pLog-svn] r6648 - plog/branches/lifetype-1.2/class/controller

jondaley at devel.lifetype.net jondaley at devel.lifetype.net
Sun Jun 22 18:20:45 EDT 2008


Author: jondaley
Date: 2008-06-22 18:20:45 -0400 (Sun, 22 Jun 2008)
New Revision: 6648

Modified:
   plog/branches/lifetype-1.2/class/controller/controller.class.php
Log:
make checkActionExist work correctly

Modified: plog/branches/lifetype-1.2/class/controller/controller.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/controller/controller.class.php	2008-06-22 22:06:30 UTC (rev 6647)
+++ plog/branches/lifetype-1.2/class/controller/controller.class.php	2008-06-22 22:20:45 UTC (rev 6648)
@@ -215,10 +215,7 @@
         function checkActionExist( $actionName )
         {
             global $_plogController_actionMap;
-            if( !array_key_exists( $actionName, $_plogController_actionMap ) )
-            	return true;
-            else
-            	false;
+            return (array_key_exists( $actionName, $_plogController_actionMap ) );
         }
 
         /**



More information about the pLog-svn mailing list