aboutsummaryrefslogtreecommitdiffstats
path: root/picture.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2008-09-23 01:04:41 +0000
committerrvelices <rv-github@modusoptimus.com>2008-09-23 01:04:41 +0000
commitdda9f5db6678ca617aee36c0281d39325db5ef8c (patch)
treeeeb6625a68bbfbd60bb1216cf18ce71f966d795a /picture.php
parentcde8cefaf2f13b8b56f3ac264758f62335ef27f3 (diff)
- removed #debug css rule (why would we need that in default-layout?)
- order by rank is not available in calendar/chronology mode - small non-functional change in functions_search.inc.php (handy for plugin) - unused variables/smaller code/unused params in func call git-svn-id: http://piwigo.org/svn/trunk@2572 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--picture.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/picture.php b/picture.php
index cb8491cd0..f5e23f687 100644
--- a/picture.php
+++ b/picture.php
@@ -126,12 +126,10 @@ if ( isset($_GET['metadata']) )
{
if ( pwg_get_session_var('show_metadata') == null )
{
- pwg_set_session_var('show_metadata', 1, 86400, cookie_path());
+ pwg_set_session_var('show_metadata', 1 );
} else {
pwg_unset_session_var('show_metadata');
-
}
-
}
// add default event handler for rendering element content