From dda9f5db6678ca617aee36c0281d39325db5ef8c Mon Sep 17 00:00:00 2001 From: rvelices Date: Tue, 23 Sep 2008 01:04:41 +0000 Subject: - 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 --- picture.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'picture.php') 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 -- cgit v1.2.3