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

mark at devel.lifetype.net mark at devel.lifetype.net
Mon Jun 9 01:10:18 EDT 2008


Author: mark
Date: 2008-06-09 01:10:18 -0400 (Mon, 09 Jun 2008)
New Revision: 6518

Modified:
   plog/branches/lifetype-1.2/class/action/admin/adminupdatelinkaction.class.php
Log:
linkDescription should be an optional field.

Modified: plog/branches/lifetype-1.2/class/action/admin/adminupdatelinkaction.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/action/admin/adminupdatelinkaction.class.php	2008-06-09 05:07:46 UTC (rev 6517)
+++ plog/branches/lifetype-1.2/class/action/admin/adminupdatelinkaction.class.php	2008-06-09 05:10:18 UTC (rev 6518)
@@ -38,7 +38,7 @@
 			// linkRssFeed will only be validated if it is available in the form
 			$this->registerFieldValidator( "linkRssFeed", new HttpUrlValidator(), true );
 			$this->registerFieldValidator( "linkCategoryId", new IntegerValidator());
-			$this->registerFieldValidator( "linkDescription", new StringValidator());
+			$this->registerFieldValidator( "linkDescription", new StringValidator(), true );
 			$this->registerFieldValidator( "linkId", new IntegerValidator());
 			$view = new AdminEditLinkView( $this->_blogInfo );
 			$view->setErrorMessage( $this->_locale->tr("error_updating_link" ));



More information about the pLog-svn mailing list