X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=blobdiff_plain;f=DataObjects%2FCore_notify.php;h=e8f140a284351b3594b5acf8a0114227c3f8b09d;hp=a445ded42b7a9d79c37aedfe4ab8303b515a894f;hb=73d58457ae7a7a0f139484eda190aec60ab7e561;hpb=5059b4f75f6a221e9c7480b4e53176d6c189638f 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;