projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
836a38e
)
DataObjects/Core_project.php
author
Alan Knowles
<alan@roojs.com>
Thu, 20 Oct 2016 02:14:15 +0000
(10:14 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 20 Oct 2016 02:14:15 +0000
(10:14 +0800)
DataObjects/Core_project.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_project.php
b/DataObjects/Core_project.php
index
fe26c60
..
517fdac
100644
(file)
--- a/
DataObjects/Core_project.php
+++ b/
DataObjects/Core_project.php
@@
-276,6
+276,9
@@
class Pman_Core_DataObjects_Core_project extends DB_DataObject
function client()
{
+ if (!$this->client_id) {
+ return false;
+ }
$c = DB_DataObject::factory('core_company');
$c->get($this->client_id);
return $c;