using boproject- insted of (no longer existing) project-class

This commit is contained in:
Ralf Becker 2002-02-14 20:14:15 +00:00
parent ca22fe93e1
commit 5cd22d9a37

View File

@ -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;
}