From f09f423a3adac016631cfb32a66bba316f3e0ae4 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 13 Oct 2016 09:40:36 +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 6a1b4b58..1c92cd31 100644 --- a/DataObjects/Core_notify.php +++ b/DataObjects/Core_notify.php @@ -55,7 +55,7 @@ class Pman_Core_DataObjects_Core_notify extends DB_DataObject $def_pt = 'core_person'; - $person_table = empty($this->person_table) ? $def_pt : $this->person_table; + $person_table = empty($this->person_table) ? $def_pt : strtolower($this->person_table); $col = $person_table == $def_pt ? 'person_id' : $person_table . '_id'; $this->{$col} = is_object($set) ? $set->id : $set; -- 2.39.2