[pLog-svn] r5054 - plog/branches/lifetype-1.2/class/action

reto at devel.lifetype.net reto at devel.lifetype.net
Sun Mar 11 18:49:13 EDT 2007


Author: reto
Date: 2007-03-11 18:49:13 -0400 (Sun, 11 Mar 2007)
New Revision: 5054

Modified:
   plog/branches/lifetype-1.2/class/action/viewresourceaction.class.php
Log:
dangerous typo ;)



Modified: plog/branches/lifetype-1.2/class/action/viewresourceaction.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/action/viewresourceaction.class.php	2007-03-11 22:20:28 UTC (rev 5053)
+++ plog/branches/lifetype-1.2/class/action/viewresourceaction.class.php	2007-03-11 22:49:13 UTC (rev 5054)
@@ -27,7 +27,7 @@
 			$this->BlogAction( $actionInfo, $request );
 			
 			$this->registerFieldValidator( "resId", new IntegerValidator(), true );
-			$this->registerFieldValidator( "resouce", new StringValidator(), true );
+			$this->registerFieldValidator( "resource", new StringValidator(), true );
 			$this->registerFieldValidator( "albumId", new IntegerValidator(), true );
 			$this->registerFieldValidator( "albumName", new StringValidator(), true );
 			
@@ -135,4 +135,4 @@
             return true;
         }
     }
-?>
\ No newline at end of file
+?>



More information about the pLog-svn mailing list