Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
* RESOLVES dan-coulter/phpflickr#38 unexpected 'unset'
  • Loading branch information
Michael Cannon committed Aug 19, 2014
1 parent d0d1865 commit 8b3f56b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
* RESOLVES #4 Import of image description
* RESOLVES #5 https URLs fails
* RESOLVES #6 Migrate from FlickrManager fails?
* RESOLVES dan-coulter/phpflickr#38 unexpected 'unset'
* Revise readme installation
* Revise readme structure
* Specify a “Text Domain” and “Domain Path”
Expand Down
2 changes: 1 addition & 1 deletion includes/libraries/phpflickr/auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'];
Expand Down

0 comments on commit 8b3f56b

Please sign in to comment.