summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-11-25 01:58:19 +0000
committerBharat Mediratta <bharat@menalto.com>2008-11-25 01:58:19 +0000
commit1ad18467745612ecc892550810d55a4fe371409c (patch)
treefa1b245db0f79c91aa08d8d87723be44b4036e11 /modules
parent8e6eff096bcacd6e3f51d1e04885d651bf916455 (diff)
Oops, fix a typo causing us to treat an array like a string.
Diffstat (limited to 'modules')
-rw-r--r--modules/info/helpers/info_block.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/info/helpers/info_block.php b/modules/info/helpers/info_block.php
index 224ce368..40e5bb97 100644
--- a/modules/info/helpers/info_block.php
+++ b/modules/info/helpers/info_block.php
@@ -28,8 +28,7 @@ class info_block_Core {
}
public static function thumbnail_info($theme, $item) {
- $results = array();
- $results .= "<li>Views: 321</li>";
+ $results = "<li>Views: 321</li>";
if ($item->owner) {
$results .= "<li>";
$results .= sprintf(_("By: %s"), "<a href=\"#\">{$item->owner->name}</a>");