From 00259cfe9356bf0ee981a2c2a8fcf6364ce30585 Mon Sep 17 00:00:00 2001 From: aterekhov Date: Sun, 28 Feb 2010 22:45:12 +0000 Subject: [PATCH] $this->table() now had parameter for auto-escaping #0 git-svn-id: svn+ssh://code.netmonsters.ru/svn/majestic/branches/evo@119 4cb57b5f-5bbd-dd11-951b-001d605cbbc5 --- model/Model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } }