[pLog-svn] r6575 - plog/branches/lifetype-1.2/class/action/admin
mark at devel.lifetype.net
mark at devel.lifetype.net
Thu Jun 19 01:29:46 EDT 2008
Author: mark
Date: 2008-06-19 01:29:46 -0400 (Thu, 19 Jun 2008)
New Revision: 6575
Modified:
plog/branches/lifetype-1.2/class/action/admin/admineditpostaction.class.php
Log:
We don't need those registerFilter() there, since we never use those inputs in editPostAction.
Modified: plog/branches/lifetype-1.2/class/action/admin/admineditpostaction.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/action/admin/admineditpostaction.class.php 2008-06-18 17:46:27 UTC (rev 6574)
+++ plog/branches/lifetype-1.2/class/action/admin/admineditpostaction.class.php 2008-06-19 05:29:46 UTC (rev 6575)
@@ -27,12 +27,7 @@
// data validation
$this->registerFieldValidator( "postId", new IntegerValidator());
- // if we don't register the fields below, the view will complain that they are
- // not valid!
- // TODO: we should validate these or not use them, right?
- $this->registerField( "postTopic" );
- $this->registerField( "postText" );
- $this->registerField( "postCategories" );
+
$view = new AdminPostsListView( $this->_blogInfo );
$view->setErrorMessage( $this->_locale->tr("error_incorrect_article_id"));
$this->setValidationErrorView( $view );
More information about the pLog-svn
mailing list