aboutsummaryrefslogtreecommitdiffstats
path: root/picture.php
diff options
context:
space:
mode:
Diffstat (limited to 'picture.php')
-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