forked from extern/egroupware
Adjust for modified cats class in view()
This commit is contained in:
parent
93d75f74f5
commit
4c4fcee9cc
@ -928,7 +928,7 @@
|
||||
{
|
||||
if ($contactscat)
|
||||
{
|
||||
$catinfo = $this->cat->return_single($contactscat);
|
||||
$catinfo = $this->cat->return_single(intval($contactscat));
|
||||
$catname .= $catinfo[0]['name'] . '; ';
|
||||
}
|
||||
}
|
||||
@ -940,7 +940,7 @@
|
||||
else
|
||||
{
|
||||
$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'];
|
||||
if (!$this->cat_id)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user