From 73d58457ae7a7a0f139484eda190aec60ab7e561 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 13 Oct 2016 09:41:27 +0800 Subject: [PATCH] DataObjects/Core_notify.php --- DataObjects/Core_notify.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DataObjects/Core_notify.php b/DataObjects/Core_notify.php index a445ded4..e8f140a2 100644 --- a/DataObjects/Core_notify.php +++ b/DataObjects/Core_notify.php @@ -71,7 +71,7 @@ class Pman_Core_DataObjects_Core_notify extends DB_DataObject return $cache[$person_table .':'. $this->{$col}]; } - $c = DB_DataObject::Factory($person_table); + $c = DB_DataObject::Factory($person_table == 'person' ? 'core_person' : $person_table); $c->get($this->{$col}); $cache[$person_table .':'. $this->{$col}] = $c; return $c; -- 2.39.2