function beforeInsert($q, $roo)
{
// we still use comptype in some old systems...
+
if (!empty($q['comptype_id'])) {
$en = DB_DataObject::Factory('core_enum');
$en->get($q['comptype_id']);
function beforeUpdate($old, $q,$roo)
{
- print_r('test?????');exit;
// we still use comptype in some old systems...
if (!empty($q['comptype_id'])) {