mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 07:09:20 +01:00
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