From: Alan Knowles Date: Thu, 20 Dec 2012 03:25:02 +0000 (+0800) Subject: DataObjects/Events.php X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=93a60b55af5c5fc00647bf466de7f47f1e6e1ff6;p=Pman.Core DataObjects/Events.php --- 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.. }