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();
|
$content = array();
|
||||||
while ($projs && list( $key,$proj ) = each( $projs ))
|
while ($projs && list( $key,$proj ) = each( $projs ))
|
||||||
{
|
{
|
||||||
$content[$proj['id']] = $proj['title'];
|
$content[$proj['project_id']] = $proj['title'];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
list( $proj ) = $projects->read_single_project( $id_name );
|
if ($proj = $projects->read_single_project( $id_name ))
|
||||||
if (count($proj))
|
|
||||||
{
|
{
|
||||||
$content = $proj['title'];
|
$content = $proj['title'];
|
||||||
// $customer_id = $proj['customer'];
|
// $customer_id = $proj['customer'];
|
||||||
|
Loading…
Reference in New Issue
Block a user