aboutsummaryrefslogtreecommitdiffstats
path: root/picture.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2011-01-12 20:41:00 +0000
committerrvelices <rv-github@modusoptimus.com>2011-01-12 20:41:00 +0000
commit05ab300c39f10271bc94b9fece8f275e3ac75174 (patch)
tree93fda9c1321227e98dae8806e6aed04fa5845a63 /picture.php
parent6a67800d4fe9099e2867cdfe43ae1c8c97e195ae (diff)
- picture uses the same variables as the index page to compute thumbnails url
- combined files are deleted only from maintenance functions and not also from plugin activation/deactivation git-svn-id: http://piwigo.org/svn/trunk@8634 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--picture.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/picture.php b/picture.php
index ace364f31..7f8df0da5 100644
--- a/picture.php
+++ b/picture.php
@@ -215,8 +215,8 @@ if ($page['current_rank'] != $page['last_rank'])
$url_up = duplicate_index_url(
array(
'start' =>
- floor($page['current_rank'] / $user['nb_image_page'])
- * $user['nb_image_page']
+ floor($page['current_rank'] / $page['nb_image_page'])
+ * $page['nb_image_page']
),
array(
'start',