forked from extern/egroupware
fixed problem with new 3-tier projects-class
This commit is contained in:
parent
a995cf89ef
commit
536b4e1d7a
@ -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'];
|
||||
|
Loading…
Reference in New Issue
Block a user