diff --git a/model/Model.php b/model/Model.php index 95ec672..326fa1f 100644 --- a/model/Model.php +++ b/model/Model.php @@ -131,6 +131,6 @@ abstract class Model if (!$this->table) { $this->table = substr(strtolower(get_class($this)), 0, -5/*strlen('Model')*/); } - return $identify ? $this->identify($this->table) : $this->table; + return $autoescape ? $this->identify($this->table) : $this->table; } }