Skip to content

Commit

Permalink
Merge pull request joomla#51 from Chraneco/patch-12
Browse files Browse the repository at this point in the history
Error: Cannot access empty property
  • Loading branch information
elinw committed Mar 4, 2013
2 parents 8b1ec57 + 61b9c0f commit 361f8f0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion libraries/cms/tags/tags.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@ public function tagItem($id, $prefix, $tags = null, $fieldMap = null, $isNew, $i

foreach ($map['common'][0] as $i=>$field)
{
$fieldMap[$i] = $item->$field;
if ($field)
{
$fieldMap[$i] = $item->$field;
}
}
}

Expand Down

0 comments on commit 361f8f0

Please sign in to comment.