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

jondaley at devel.lifetype.net jondaley at devel.lifetype.net
Sat Apr 11 22:23:07 EDT 2009


Author: jondaley
Date: 2009-04-11 22:23:06 -0400 (Sat, 11 Apr 2009)
New Revision: 6860

Modified:
   plog/branches/lifetype-1.2/class/action/rssaction.class.php
Log:
profile name is optional

Modified: plog/branches/lifetype-1.2/class/action/rssaction.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/action/rssaction.class.php	2009-04-11 19:18:23 UTC (rev 6859)
+++ plog/branches/lifetype-1.2/class/action/rssaction.class.php	2009-04-12 02:23:06 UTC (rev 6860)
@@ -25,7 +25,7 @@
 			
 			$this->registerFieldValidator( "categoryId", new IntegerValidator(), true );
 			$this->registerFieldValidator( "userId", new IntegerValidator(), true );			
-			$this->registerFieldValidator( "profile", new TemplateNameValidator());
+			$this->registerFieldValidator( "profile", new TemplateNameValidator(), true);
 
 			// generate a dummy view with nothing in it to signal an error
 			$view = new RssView( $this->_blogInfo, RSS_VIEW_DEFAULT_PROFILE );



More information about the pLog-svn mailing list