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

@ -42,7 +42,7 @@
var $valid_pathes = array();
var $send_file_ips = array();
function boinfolog( $info_id = 0)
function boinfolog( $info_id = 0)
{
$this->enums = array(
'priority' => array (
@ -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;
}