[pLog-svn] r3529 - plog/tags/lifetype-1.0.5/class/action

oscar at devel.lifetype.net oscar at devel.lifetype.net
Sun Jun 4 17:02:57 GMT 2006


Author: oscar
Date: 2006-06-04 17:02:57 +0000 (Sun, 04 Jun 2006)
New Revision: 3529

Modified:
   plog/tags/lifetype-1.0.5/class/action/resourceserveraction.class.php
   plog/tags/lifetype-1.0.5/class/action/viewarticletrackbacksaction.class.php
Log:
just fixed the issue with the validator that mark spotted


Modified: plog/tags/lifetype-1.0.5/class/action/resourceserveraction.class.php
===================================================================
--- plog/tags/lifetype-1.0.5/class/action/resourceserveraction.class.php	2006-06-04 16:49:29 UTC (rev 3528)
+++ plog/tags/lifetype-1.0.5/class/action/resourceserveraction.class.php	2006-06-04 17:02:57 UTC (rev 3529)
@@ -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

Modified: plog/tags/lifetype-1.0.5/class/action/viewarticletrackbacksaction.class.php
===================================================================
--- plog/tags/lifetype-1.0.5/class/action/viewarticletrackbacksaction.class.php	2006-06-04 16:49:29 UTC (rev 3528)
+++ plog/tags/lifetype-1.0.5/class/action/viewarticletrackbacksaction.class.php	2006-06-04 17:02:57 UTC (rev 3529)
@@ -21,7 +21,7 @@
 	{
 	
         var $_articleId;
-	var $_articleName;
+		var $_articleName;
 		var $_categoryId;
 		var $_categoryName;
 		var $_userId;



More information about the pLog-svn mailing list