[pLog-svn] r4280 - plog/branches/lifetype-1.1.2/class/action/admin
oscar at devel.lifetype.net
oscar at devel.lifetype.net
Sat Nov 11 14:53:23 GMT 2006
Author: oscar
Date: 2006-11-11 14:53:23 +0000 (Sat, 11 Nov 2006)
New Revision: 4280
Modified:
plog/branches/lifetype-1.1.2/class/action/admin/adminaddblogaction.class.php
Log:
Fixed a small issue with the view not showing the right error message in case of an error.
Modified: plog/branches/lifetype-1.1.2/class/action/admin/adminaddblogaction.class.php
===================================================================
--- plog/branches/lifetype-1.1.2/class/action/admin/adminaddblogaction.class.php 2006-11-11 14:29:33 UTC (rev 4279)
+++ plog/branches/lifetype-1.1.2/class/action/admin/adminaddblogaction.class.php 2006-11-11 14:53:23 UTC (rev 4280)
@@ -35,7 +35,9 @@
$this->registerFieldValidator( "blogMainDomain", new DomainValidator());
}
$this->registerField( "userName" );
- $this->setValidationErrorView( new AdminCreateBlogView( $this->_blogInfo ));
+ $view = new AdminCreateBlogView( $this->_blogInfo );
+ $view->setErrorMessage( $this->_locale->tr("error_adding_blog" ));
+ $this->setValidationErrorView( $view );
}
function perform()
More information about the pLog-svn
mailing list