forked from extern/egroupware
using boproject- insted of (no longer existing) project-class
This commit is contained in:
parent
ca22fe93e1
commit
5cd22d9a37
@ -136,9 +136,9 @@
|
||||
{
|
||||
if (!is_object($this->projects))
|
||||
{
|
||||
$this->projects = createobject('projects.projects');
|
||||
$this->projects = createobject('projects.boprojects');
|
||||
}
|
||||
if (list( $proj ) = $this->projects->read_single_project( $proj_id))
|
||||
if (is_object($this->projects) && (list( $proj ) = $this->projects->read_single_project( $proj_id)))
|
||||
{
|
||||
return $proj;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user