Pman/Roo.php
authorAlan Knowles <alan@roojs.com>
Wed, 14 Mar 2012 02:08:03 +0000 (10:08 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 14 Mar 2012 02:08:03 +0000 (10:08 +0800)
Pman/Roo.php

index 413fd6e..212fbf0 100644 (file)
@@ -731,7 +731,7 @@ class Pman_Roo extends Pman
         if (is_a($lock,'DB_DataObject'))  {
                  
             $lock->on_id = $x->{$this->key};
-            $lock->on_table= $x->tableName();
+            $lock->on_table= strtolower($x->tableName());
             if (!empty($_REQUEST['_lock_id'])) {
                 $lock->whereAdd('id != ' . ((int)$_REQUEST['_lock_id']));
             } else {