diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-05-08 17:48:30 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-05-08 17:48:30 +0000 |
commit | 0373cb06765244d51a218633d258a74c5cbb04a6 (patch) | |
tree | fc852fa543b544a955de5cdba49071be2630d2e4 /core/libraries | |
parent | 2c2839c13b07ffaa5423d2affd314855e818ba11 (diff) |
Use lower-case aliases for greater portability (thanks Romain LE DISEZ)
Diffstat (limited to 'core/libraries')
-rw-r--r-- | core/libraries/ORM_MPTT.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/libraries/ORM_MPTT.php b/core/libraries/ORM_MPTT.php index 6ec4abcf..265cb8fb 100644 --- a/core/libraries/ORM_MPTT.php +++ b/core/libraries/ORM_MPTT.php @@ -286,8 +286,8 @@ class ORM_MPTT_Core extends ORM { * Lock the tree to prevent concurrent modification. */ protected function lock() { - $result = $this->db->query("SELECT GET_LOCK('{$this->table_name}', 1) AS L")->current(); - if (empty($result->L)) { + $result = $this->db->query("SELECT GET_LOCK('{$this->table_name}', 1) AS l")->current(); + if (empty($result->l)) { throw new Exception("@todo UNABLE_TO_LOCK_EXCEPTION"); } } |