From 93a60b55af5c5fc00647bf466de7f47f1e6e1ff6 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 20 Dec 2012 11:25:02 +0800 Subject: [PATCH] DataObjects/Events.php --- DataObjects/Events.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DataObjects/Events.php b/DataObjects/Events.php index f067c051..32b2ba70 100644 --- a/DataObjects/Events.php +++ b/DataObjects/Events.php @@ -49,7 +49,7 @@ class Pman_Core_DataObjects_Events extends DB_DataObject $this->selectAs($jt, 'person_id_%s', 'join_person_id_id'); } else { - $this->person_table = 'Person'; // default to our standard.. - unless otherwise requested.. + $this->whereAdd("person_table = 'Person' OR person_table = '' OR person_table IS NULL"); // default to our standard.. - unless otherwise requested.. } -- 2.39.2