[pLog-svn] r4578 - plog/trunk/class/action
pwestbro at devel.lifetype.net
pwestbro at devel.lifetype.net
Fri Jan 26 02:22:57 EST 2007
Author: pwestbro
Date: 2007-01-26 07:22:56 +0000 (Fri, 26 Jan 2007)
New Revision: 4578
Modified:
plog/trunk/class/action/addcommentaction.class.php
Log:
Fixed a problem where if you didn't specify a valid email address, a blank
page would be shown.
Modified: plog/trunk/class/action/addcommentaction.class.php
===================================================================
--- plog/trunk/class/action/addcommentaction.class.php 2007-01-26 06:47:34 UTC (rev 4577)
+++ plog/trunk/class/action/addcommentaction.class.php 2007-01-26 07:22:56 UTC (rev 4578)
@@ -119,6 +119,8 @@
*/
function validationErrorProcessing()
{
+ $this->_view = new ErrorView( $this->_blogInfo);
+
// collect all the errors from all the fields and for those that failed validation,
// put them in a nicer string.
$results = $this->_form->getFormValidationResults();
More information about the pLog-svn
mailing list