diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2009-11-21 18:57:44 -0800 |
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-11-21 18:57:44 -0800 |
| commit | f8a4c6edaa405494139aaf8eb6579a9488e73034 (patch) | |
| tree | 098263faec67d468c70cf74f70a3f7136e55a2a2 /modules/gallery/libraries/Theme_View.php | |
| parent | 23a60fb1f217475419c55adc7ce7427fcdadb2c3 (diff) | |
| parent | 38233c67a2946d6fe7b6457217541c796247285d (diff) | |
Merge branch 'master' into talmdal_dev
Diffstat (limited to 'modules/gallery/libraries/Theme_View.php')
| -rw-r--r-- | modules/gallery/libraries/Theme_View.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/libraries/Theme_View.php b/modules/gallery/libraries/Theme_View.php index b1167d0e..b64deab9 100644 --- a/modules/gallery/libraries/Theme_View.php +++ b/modules/gallery/libraries/Theme_View.php @@ -172,7 +172,7 @@ class Theme_View_Core extends Gallery_View { $v->first_visible_position = ($this->page - 1) * $this->page_size + 1; $v->last_visible_position = min($this->page * $this->page_size, $v->total); - } else { + } else if ($this->page_type == "item") { $v->position = $this->position; $v->total = $this->sibling_count; if ($this->previous_item) { |
