diff options
| author | 2014-10-16 17:15:51 +0200 | |
|---|---|---|
| committer | 2014-10-17 16:24:21 +0200 | |
| commit | 5797344aff9ceebbdeb6e49305f3984a5c89f82c (patch) | |
| tree | 7f9b0b609297852cb470930bfa3ffca6fd631892 /lib/Minz/ModelPdo.php | |
| parent | d4ad951b9b686f387056bda8f3fa6ede8d9ca3f1 (diff) | |
Fix a bug to get size of user (SQLite)
Diffstat (limited to 'lib/Minz/ModelPdo.php')
| -rw-r--r-- | lib/Minz/ModelPdo.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Minz/ModelPdo.php b/lib/Minz/ModelPdo.php index 66127ea22..827c89c69 100644 --- a/lib/Minz/ModelPdo.php +++ b/lib/Minz/ModelPdo.php @@ -24,6 +24,7 @@ class Minz_ModelPdo { */ protected $bd; + protected $current_user; protected $prefix; public function dbType() { @@ -46,6 +47,7 @@ class Minz_ModelPdo { if ($currentUser === null) { $currentUser = Minz_Session::param('currentUser', '_'); } + $this->current_user = $currentUser; try { $type = $db['type']; |
