X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=DataObjects%2FCore_enum.php;h=d05bf8bfa82512f1897e6be87da087e68795264d;hb=40d751c681e519336ff32d0e8fd35cdd05249817;hp=a421294db1eec81ade5dcd49aac9fc28eb42dd41;hpb=3921c019dd6bdc70ba1d9d866fc5537cd5d47e7f;p=Pman.Core diff --git a/DataObjects/Core_enum.php b/DataObjects/Core_enum.php index a421294d..d05bf8bf 100644 --- a/DataObjects/Core_enum.php +++ b/DataObjects/Core_enum.php @@ -161,12 +161,13 @@ class Pman_Core_DataObjects_Core_enum extends DB_DataObject } } - function onInsert($req) + function onInsert($req, $roo) { $x = $this->factory($this->tableName()); $x->query("SELECT core_enum_seqmax_update('". $this->escape($this->etype) ."')"); // no idea why need to do this!!?? } + function onUpdate($old, $req) { $x = $this->factory($this->tableName());