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

mark at devel.lifetype.net mark at devel.lifetype.net
Tue Jul 1 01:48:38 EDT 2008


Author: mark
Date: 2008-07-01 01:48:38 -0400 (Tue, 01 Jul 2008)
New Revision: 6691

Modified:
   plog/branches/lifetype-1.2/class/action/resourceserveraction.class.php
Log:
Replace StringValidator( false ) to StringValidator(). Use it's default value.

Modified: plog/branches/lifetype-1.2/class/action/resourceserveraction.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/action/resourceserveraction.class.php	2008-07-01 05:43:33 UTC (rev 6690)
+++ plog/branches/lifetype-1.2/class/action/resourceserveraction.class.php	2008-07-01 05:48:38 UTC (rev 6691)
@@ -40,10 +40,10 @@
 			
 			$this->_config =& Config::getConfig();
 			
-			$this->registerFieldValidator( "resource", new StringValidator( false ), true );
+			$this->registerFieldValidator( "resource", new StringValidator(), true );
 			$this->registerFieldValidator( "resId", new IntegerValidator(), true );
 			$this->registerFieldValidator( "albumId", new IntegerValidator(), true );
-			$this->registerFieldValidator( "albumName", new StringValidator( false ), true );
+			$this->registerFieldValidator( "albumName", new StringValidator(), true );
 			$this->registerFieldValidator( "blogId", new IntegerValidator(), true );
 			$this->registerFieldValidator( "blogDomain", new DomainValidator(), true );
 			$this->registerFieldValidator( "blogName", new BlogNameValidator(), true );



More information about the pLog-svn mailing list