diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-09-21 21:22:07 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-09-21 21:22:07 -0700 |
commit | 123afc954281c1f924f851a33ae5016774e6d9f3 (patch) | |
tree | 48d69bc383769ce3060c34d12c0b1084d38bd030 /modules | |
parent | 88350c5b88abb8bfc56b26177b64e049f6b7440f (diff) |
Set children_count to 0, photos have no children.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/gallery/controllers/photos.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/controllers/photos.php b/modules/gallery/controllers/photos.php index 3de9b3ee..81e7519e 100644 --- a/modules/gallery/controllers/photos.php +++ b/modules/gallery/controllers/photos.php @@ -37,7 +37,7 @@ class Photos_Controller extends Items_Controller { $template = new Theme_View("page.html", "photo"); $template->set_global("item", $photo); $template->set_global("children", array()); - $template->set_global("children_count", $photo->children_count()); + $template->set_global("children_count", 0); $template->set_global("parents", $photo->parents()); $template->set_global("next_item", $next_item); $template->set_global("previous_item", $previous_item); |