修正Create类和Model类

This commit is contained in:
thinkphp
2013-04-10 14:35:22 +08:00
parent 257065acf2
commit cd5444213b
2 changed files with 2 additions and 2 deletions

View File

@@ -174,7 +174,7 @@ class Model {
}elseif(isset($this->_scope[$method])){// 命名范围的单独调用支持
return $this->scope($method,$args[0]);
}else{
throw exception(__CLASS__.':'.$method.L('_METHOD_NOT_EXIST_'));
E(__CLASS__.':'.$method.L('_METHOD_NOT_EXIST_'));
return;
}
}