From 2133390451e2e5f53f5b0b051d63c319656d3c57 Mon Sep 17 00:00:00 2001 From: Michael Cannon Date: Fri, 4 Jul 2014 17:54:31 +0530 Subject: [PATCH] Update auth.php PHP Parse error: syntax error, unexpected 'unset' (T_UNSET) in ./includes/libraries/phpflickr/auth.php on line 17 --- auth.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/auth.php b/auth.php index 0cee4dc..e9da2f4 100644 --- a/auth.php +++ b/auth.php @@ -14,7 +14,7 @@ ob_start(); require_once($path_to_phpFlickr_class . "phpFlickr.php"); - @unset($_SESSION['phpFlickr_auth_token']); + unset($_SESSION['phpFlickr_auth_token']); if ( isset($_SESSION['phpFlickr_auth_redirect']) && !empty($_SESSION['phpFlickr_auth_redirect']) ) { $redirect = $_SESSION['phpFlickr_auth_redirect']; @@ -35,4 +35,4 @@ header("Location: " . $redirect); } -?> \ No newline at end of file +?>