DataObjects/Core_enum.php
authorEdward <edward@roojs.com>
Tue, 14 Jan 2014 05:41:52 +0000 (13:41 +0800)
committerEdward <edward@roojs.com>
Tue, 14 Jan 2014 05:41:52 +0000 (13:41 +0800)
DataObjects/Core_enum.php

index c0888fe..9fdc66d 100644 (file)
@@ -105,7 +105,7 @@ class Pman_Core_DataObjects_Core_enum extends DB_DataObject
     function onInsert($req)
     {
         $x = $this->factory($this->tableName());
-        $x->query("SELECT core_enum_seqmax_update('". $this->escape($this->etype) ."')");
+        $x->query("SELECT core_enum_seqmax_update('". $this->escape($this->etype) ."')"); // no idea why need to do this!!??
          
     }
     function onUpdate($old, $req)