Browse files

Fixed the Flickr module at the botton of the page

  • Loading branch information...
1 parent 8c302af commit 59c23ef4cb78991ddcaea37f80bd7c94aaa2b329 @jimwhimpey committed Mar 25, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 utilities/flickr.php
View
1 utilities/flickr.php
@@ -8,6 +8,7 @@
// Get the Calendar data from Flickr
$contents = file_get_contents("http://api.flickr.com/services/feeds/photos_public.gne?id=42612547@N03&lang=en-us&format=json");
$contents = preg_replace('/^jsonFlickrFeed\(|\)$/', '', $contents);
+ $contents = str_replace("\'", "'", $contents);
$json = json_decode($contents);
// Loop through the items

0 comments on commit 59c23ef

Please sign in to comment.