summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-06-17 14:51:18 +0800
committer <unostar@danalan.info>2009-06-17 15:26:33 +0800
commit1a911d4b5c5b8b337806209611f5eae07dfe9abd (patch)
tree00d930b20960659d77b23ed30ba5a797a398f4fb
parentf83a080bf13cc84616d9a1f3e95222651178a628 (diff)
Fix a bug that was overwriting the quick-pane HTML causing the quick
panes not to appear. Oops. Bug was introduced in the rss refactor: 1b656be7135efe51ba0eb34d6ac76c2632ec193a Signed-off-by: <unostar@danalan.info>
-rw-r--r--modules/gallery/helpers/gallery_theme.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gallery/helpers/gallery_theme.php b/modules/gallery/helpers/gallery_theme.php
index 44c1d3f1..a96c8f5b 100644
--- a/modules/gallery/helpers/gallery_theme.php
+++ b/modules/gallery/helpers/gallery_theme.php
@@ -34,9 +34,9 @@ class gallery_theme_Core {
if (module::is_active("rss")) {
if ($item = $theme->item()) {
- $buf = rss::feed_link("gallery/album/{$item->id}");
+ $buf .= rss::feed_link("gallery/album/{$item->id}");
} else if ($tag = $theme->tag()) {
- $buf = rss::feed_link("tag/tag/{$tag->id}");
+ $buf .= rss::feed_link("tag/tag/{$tag->id}");
}
}