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

jondaley at devel.lifetype.net jondaley at devel.lifetype.net
Sat Jun 21 16:46:29 EDT 2008


Author: jondaley
Date: 2008-06-21 16:46:29 -0400 (Sat, 21 Jun 2008)
New Revision: 6640

Modified:
   plog/branches/lifetype-1.2/class/summary/action/dofinishregister.class.php
Log:
Probably templatename validator didn't exist when this was written.

Modified: plog/branches/lifetype-1.2/class/summary/action/dofinishregister.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/summary/action/dofinishregister.class.php	2008-06-21 20:45:51 UTC (rev 6639)
+++ plog/branches/lifetype-1.2/class/summary/action/dofinishregister.class.php	2008-06-21 20:46:29 UTC (rev 6640)
@@ -11,7 +11,7 @@
 	lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
 	lt_include( PLOG_CLASS_PATH."class/summary/mail/summarymailer.class.php" );
     lt_include( PLOG_CLASS_PATH."class/summary/view/blogtemplatechooserview.class.php" );
-    lt_include( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );    
+    lt_include( PLOG_CLASS_PATH."class/data/validator/templatenamevalidator.class.php" );    
     lt_include( PLOG_CLASS_PATH."class/net/http/subdomains.class.php" );
 	lt_include( PLOG_CLASS_PATH."class/dao/permissions.class.php" );
 	lt_include( PLOG_CLASS_PATH."class/dao/userpermissions.class.php" );	
@@ -39,7 +39,7 @@
         {
             $this->RegisterAction( $actionInfo, $request );
             
-        	$this->registerFieldValidator( "templateId", new StringValidator());
+        	$this->registerFieldValidator( "templateId", new TemplateNameValidator());
         	$this->setValidationErrorView( new BlogTemplateChooserView());        	            
         }   
 



More information about the pLog-svn mailing list