mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-26 12:51:52 +02:00
Adjust for modified cats class in view()
This commit is contained in:
parent
93d75f74f5
commit
4c4fcee9cc
@ -928,7 +928,7 @@
|
|||||||
{
|
{
|
||||||
if ($contactscat)
|
if ($contactscat)
|
||||||
{
|
{
|
||||||
$catinfo = $this->cat->return_single($contactscat);
|
$catinfo = $this->cat->return_single(intval($contactscat));
|
||||||
$catname .= $catinfo[0]['name'] . '; ';
|
$catname .= $catinfo[0]['name'] . '; ';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -940,7 +940,7 @@
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
$fields[0]['cat_id'] = ereg_replace(',','',$fields[0]['cat_id']);
|
$fields[0]['cat_id'] = ereg_replace(',','',$fields[0]['cat_id']);
|
||||||
$catinfo = $this->cat->return_single($fields[0]['cat_id']);
|
$catinfo = $this->cat->return_single(intval($fields[0]['cat_id']));
|
||||||
$catname = $catinfo[0]['name'];
|
$catname = $catinfo[0]['name'];
|
||||||
if (!$this->cat_id)
|
if (!$this->cat_id)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user