fixed problem with new 3-tier projects-class

This commit is contained in:
Ralf Becker 2002-09-02 21:34:07 +00:00
parent a995cf89ef
commit 536b4e1d7a

View File

@ -373,13 +373,12 @@
$content = array();
while ($projs && list( $key,$proj ) = each( $projs ))
{
$content[$proj['id']] = $proj['title'];
$content[$proj['project_id']] = $proj['title'];
}
}
else
{
list( $proj ) = $projects->read_single_project( $id_name );
if (count($proj))
if ($proj = $projects->read_single_project( $id_name ))
{
$content = $proj['title'];
// $customer_id = $proj['customer'];