diff --git a/components/com_contact/views/contact/view.html.php b/components/com_contact/views/contact/view.html.php index 6a5ea5e0a86fb..b62315621ae8e 100644 --- a/components/com_contact/views/contact/view.html.php +++ b/components/com_contact/views/contact/view.html.php @@ -72,7 +72,10 @@ public function display($tpl = null) $item = $this->get('Item'); $state = $this->get('State'); - $app->setUserState('com_contact.contact.data', array('catid' => $item->catid)); + if (empty($item->catid)) + { + $app->setUserState('com_contact.contact.data', array('catid' => $item->catid)); + } $this->form = $this->get('Form');