DataObjects/Core_project.php
authorAlan Knowles <alan@roojs.com>
Thu, 20 Oct 2016 02:13:28 +0000 (10:13 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 20 Oct 2016 02:13:28 +0000 (10:13 +0800)
DataObjects/Core_project.php

index 671c76e..fe26c60 100644 (file)
@@ -69,7 +69,7 @@ class Pman_Core_DataObjects_Core_project extends DB_DataObject
 
     function toEventString() {
         $c = $this->client();
-        return ($c->id ? $c->toEventString() : '??'). ':' . $this->name;
+        return ($c && $c->id ? $c->toEventString() : '??'). ':' . $this->name;
     }
     
     /**