[pLog-svn] r3530 - plog/branches/lifetype-1.0.5/class/action

mark at devel.lifetype.net mark at devel.lifetype.net
Sun Jun 4 17:10:43 GMT 2006


Author: mark
Date: 2006-06-04 17:10:43 +0000 (Sun, 04 Jun 2006)
New Revision: 3530

Modified:
   plog/branches/lifetype-1.0.5/class/action/resourceserveraction.class.php
Log:
Some typo fixed.

Modified: plog/branches/lifetype-1.0.5/class/action/resourceserveraction.class.php
===================================================================
--- plog/branches/lifetype-1.0.5/class/action/resourceserveraction.class.php	2006-06-04 17:02:57 UTC (rev 3529)
+++ plog/branches/lifetype-1.0.5/class/action/resourceserveraction.class.php	2006-06-04 17:10:43 UTC (rev 3530)
@@ -38,11 +38,11 @@
 			$this->registerFieldValidator( "resource", new StringValidator(), true );
 			$this->registerFieldValidator( "resId", new IntegerValidator(), true );
 			$this->registerFieldValidator( "albumId", new IntegerValidator(), true );
-			$this->registerFieldValidator( "albumName", new IntegerValidator(), true );
+			$this->registerFieldValidator( "albumName", new StringValidator(), true );
 			$this->registerFieldValidator( "blogId", new IntegerValidator(), true );
-			$this->registerFieldValidator( "blogName", new IntegerValidator(), true );
+			$this->registerFieldValidator( "blogName", new StringValidator(), true );
 			$this->registerFieldValidator( "userId", new IntegerValidator(), true );
-			$this->registerFieldValidator( "blogUserName", new IntegerValidator(), true );			
+			$this->registerFieldValidator( "blogUserName", new StringValidator(), true );			
 			
 			// since this class does not return HTML code but files, we cannot
 			// return HTML so let's return 404 status code with a custom error message



More information about the pLog-svn mailing list