X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=blobdiff_plain;f=DataObjects%2FCore_office.php;fp=DataObjects%2FCore_office.php;h=a5229b522f5d9ac3901ce9878c848896656d5340;hp=590e5dd7b11e34237daa01161a7053f05483f625;hb=3478ebc057921a972d06815177fedb99c4b0645b;hpb=4c1f9867b196ebcaed870af39c4ca859abe30d47 diff --git a/DataObjects/Core_office.php b/DataObjects/Core_office.php index 590e5dd7..a5229b52 100644 --- a/DataObjects/Core_office.php +++ b/DataObjects/Core_office.php @@ -45,7 +45,7 @@ class Pman_Core_DataObjects_Core_office extends DB_DataObject function company() { - $c = DB_DataObject::Factory('Companies'); + $c = DB_DataObject::Factory('core_company'); $c->get($this->company_id); return $c;