Update commondocgenerator.class.php
This commit is contained in:
parent
f15ce54c05
commit
48c3d0e3f2
@ -421,7 +421,7 @@ abstract class CommonDocGenerator
|
||||
// Fetch project information if there is a project assigned to this object
|
||||
if ($object->element != "project" && ! empty($object->fk_project) && $object->fk_project > 0)
|
||||
{
|
||||
if(!isset($object->project))
|
||||
if (! is_object($object->project))
|
||||
{
|
||||
$object->fetch_projet();
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user