summaryrefslogtreecommitdiff
path: root/themes/wind/views/page.html.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2010-09-07 18:53:25 -0700
committerTim Almdal <tnalmdal@shaw.ca>2010-09-07 18:53:25 -0700
commit5a26dd542a3cb4974870bcfeec4864d1daa616c4 (patch)
treedede0baa9ba893a4987bffc7ddaf925694e5ddde /themes/wind/views/page.html.php
parentb6fa33faf789749f4de3f4eadf8832748372c980 (diff)
parentd398651c080c18e4f1bf623548091465dac1d528 (diff)
Merge branch 'master' of git@github.com:gallery/gallery3
Diffstat (limited to 'themes/wind/views/page.html.php')
-rw-r--r--themes/wind/views/page.html.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/wind/views/page.html.php b/themes/wind/views/page.html.php
index 4938ed60..e620d652 100644
--- a/themes/wind/views/page.html.php
+++ b/themes/wind/views/page.html.php
@@ -105,9 +105,9 @@
// containing that photo. For now, we just do it for
// the immediate parent so that when you go back up a
// level you're on the right page. ?>
- <a href="<?= $parent->url($parent == $theme->item()->parent() ?
+ <a href="<?= $parent->url($parent->id == $theme->item()->parent_id ?
"show={$theme->item()->id}" : null) ?>">
- <!-- limit the title length to something reasonable (defaults to 15) -->
+ <? // limit the title length to something reasonable (defaults to 15) ?>
<?= html::purify(text::limit_chars($parent->title,
module::get_var("gallery", "visible_title_length"))) ?>
</a>