Fix variable name in search method.

This commit is contained in:
kj 2020-12-03 11:05:34 -04:00
parent cbd59c217f
commit 0613ecb373
1 changed files with 1 additions and 1 deletions

View File

@ -650,7 +650,7 @@ class ModelMySQL {
public static function search($search, $in = null) {
if ($in == null) {
$className = get_called_class();
$objAtts = array_keys((new $className())->getVars());
$in = array_keys((new $className())->getVars());
}
$db = static::db();