Adjust for modified cats class in view()

This commit is contained in:
Miles Lott 2001-09-18 16:42:18 +00:00
parent 93d75f74f5
commit 4c4fcee9cc

View File

@ -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)
{