diff --git a/components/com_tags/models/tag.php b/components/com_tags/models/tag.php index 736f02ce14b99..709281acb10f2 100644 --- a/components/com_tags/models/tag.php +++ b/components/com_tags/models/tag.php @@ -342,6 +342,9 @@ public function hit($pk = 0) $table = JTable::getInstance('Tag', 'TagsTable'); $table->hit($pk); + // Load the table data for later + $table->load($pk); + if (!$table->hasPrimaryKey()) { JError::raiseError(404, JText::_('COM_TAGS_TAG_NOT_FOUND'));