From: Alan Knowles Date: Thu, 13 Oct 2016 01:38:09 +0000 (+0800) Subject: DataObjects/Core_notify.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=92580f4dbc6eeab50aea3e60261c91428d1b3826 DataObjects/Core_notify.php --- diff --git a/DataObjects/Core_notify.php b/DataObjects/Core_notify.php index b75f47a5..6a1b4b58 100644 --- a/DataObjects/Core_notify.php +++ b/DataObjects/Core_notify.php @@ -53,7 +53,7 @@ class Pman_Core_DataObjects_Core_notify extends DB_DataObject if ($set !== false) { $this->person_table = is_object($set) ? $set->tableName() : ''; - $def_pt = DB_DataObject::Factory('core_person')->tableName(); + $def_pt = 'core_person'; $person_table = empty($this->person_table) ? $def_pt : $this->person_table; $col = $person_table == $def_pt ? 'person_id' : $person_table . '_id';