mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 13:17:24 +02:00
wrong validator call
This commit is contained in:
@@ -9,8 +9,8 @@
|
|||||||
* e107 Base Model
|
* e107 Base Model
|
||||||
*
|
*
|
||||||
* $Source: /cvs_backup/e107_0.8/e107_handlers/model_class.php,v $
|
* $Source: /cvs_backup/e107_0.8/e107_handlers/model_class.php,v $
|
||||||
* $Revision: 1.12 $
|
* $Revision: 1.13 $
|
||||||
* $Date: 2009-10-21 09:12:11 $
|
* $Date: 2009-10-21 10:24:32 $
|
||||||
* $Author: secretr $
|
* $Author: secretr $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -1302,7 +1302,7 @@ class e_model_admin extends e_model
|
|||||||
{
|
{
|
||||||
if(null === $this->_validator)
|
if(null === $this->_validator)
|
||||||
{
|
{
|
||||||
$this->_validator = e107::getObject('e_validate');
|
$this->_validator = e107::getObject('e_validator');
|
||||||
$this->_validator->setRules($this->getValidationRules())->setMessageStack($this->_message_stack.'_validator');
|
$this->_validator->setRules($this->getValidationRules())->setMessageStack($this->_message_stack.'_validator');
|
||||||
//TODO - optional check rules
|
//TODO - optional check rules
|
||||||
}
|
}
|
||||||
@@ -1483,7 +1483,6 @@ class e_model_admin extends e_model
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Build query array to be used with db methods (db_Update, db_Insert, db_Replace)
|
* Build query array to be used with db methods (db_Update, db_Insert, db_Replace)
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user