diff --git a/modules/rwinfo/helpers/rwinfo_theme.php b/modules/rwinfo/helpers/rwinfo_theme.php index 6c3574be..83c890dd 100644 --- a/modules/rwinfo/helpers/rwinfo_theme.php +++ b/modules/rwinfo/helpers/rwinfo_theme.php @@ -28,21 +28,18 @@ class rwinfo_theme_Core { // rWatcher Edit: Display Tags if (module::is_active("tag")) { - $tagsItem = ORM::factory("tag") + $tags = ORM::factory("tag") ->join("items_tags", "tags.id", "items_tags.tag_id") ->where("items_tags.item_id", "=", $item->id) ->find_all(); - if (count($tagsItem) > 0) { + if (count($tags) > 0) { $results .= "