1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-30 11:20:25 +02:00

wrong validator call

This commit is contained in:
secretr
2009-10-21 10:24:32 +00:00
parent 3daf2e1e4e
commit 2b166dd02b

View File

@@ -9,8 +9,8 @@
* e107 Base Model
*
* $Source: /cvs_backup/e107_0.8/e107_handlers/model_class.php,v $
* $Revision: 1.12 $
* $Date: 2009-10-21 09:12:11 $
* $Revision: 1.13 $
* $Date: 2009-10-21 10:24:32 $
* $Author: secretr $
*/
@@ -1302,7 +1302,7 @@ class e_model_admin extends e_model
{
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');
//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)
*