mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-05 13:00:14 +01:00
1) using the color set by preferences dialogs, now in data-column
2) reverted alpes tab to space and dos-line-ends conversation
This commit is contained in:
parent
2a1b37b6da
commit
18dded158c
@ -3015,15 +3015,15 @@
|
|||||||
$id_array[0] = $ids;
|
$id_array[0] = $ids;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@reset($id_array);
|
|
||||||
$ret_val = Array();
|
$ret_val = Array();
|
||||||
while(list($index,$id) = each($id_array))
|
foreach($id_array as $id)
|
||||||
{
|
{
|
||||||
if (!isset($cats[$id]))
|
if (!isset($cats[$id]))
|
||||||
{
|
{
|
||||||
$cat_arr = $this->cat->return_single( $id );
|
list($cat) = $this->cat->return_single( $id );
|
||||||
$cats[$id] = $cat_arr[0];
|
$cat['data'] = unserialize($cat['data']);
|
||||||
$cats[$id]['color'] = strstr($cats[$id]['description'],'#');
|
$cat['color'] = $cat['data']['color'] ? $cat['data']['color'] : strstr($cat['description'],'#');
|
||||||
|
$cats[$id] = $cat;
|
||||||
}
|
}
|
||||||
$ret_val[] = $cats[$id];
|
$ret_val[] = $cats[$id];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user