[pLog-svn] r3987 - plog/branches/lifetype-1.1.1/class/action/admin
oscar at devel.lifetype.net
oscar at devel.lifetype.net
Mon Sep 18 17:04:32 GMT 2006
Author: oscar
Date: 2006-09-18 17:04:30 +0000 (Mon, 18 Sep 2006)
New Revision: 3987
Modified:
plog/branches/lifetype-1.1.1/class/action/admin/adminadduseraction.class.php
Log:
It should be possible to create users who do not belong to any blog.
Modified: plog/branches/lifetype-1.1.1/class/action/admin/adminadduseraction.class.php
===================================================================
--- plog/branches/lifetype-1.1.1/class/action/admin/adminadduseraction.class.php 2006-09-18 12:32:34 UTC (rev 3986)
+++ plog/branches/lifetype-1.1.1/class/action/admin/adminadduseraction.class.php 2006-09-18 17:04:30 UTC (rev 3987)
@@ -38,7 +38,7 @@
$this->registerFieldValidator( "userEmail", new EmailValidator());
$this->registerFieldValidator( "userStatus", new IntegerValidator());
$this->registerField( "userFullName" );
- $this->registerFieldValidator( "blogId", new IntegerValidator());
+ $this->registerFieldValidator( "blogId", new IntegerValidator(), true );
$this->registerField( "blogName" );
$view = new AdminAddUserView( $this->_blogInfo );
$this->setValidationErrorView( $view );
More information about the pLog-svn
mailing list