diff options
-rw-r--r-- | phpfspot.class.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/phpfspot.class.php b/phpfspot.class.php index b635b30..fc6b376 100644 --- a/phpfspot.class.php +++ b/phpfspot.class.php @@ -100,7 +100,7 @@ class PHPFSPOT { public function showPhoto($photo) { - $all_photos = $this->getAllTagPhotos(); + $all_photos = $this->getPhotoSelection(); foreach($all_photos as $all_photo) { @@ -193,7 +193,7 @@ class PHPFSPOT { } // resetTags() - public function getAllTagPhotos() + public function getPhotoSelection() { $tagged_photos = Array(); @@ -261,12 +261,12 @@ class PHPFSPOT { return $tagged_photos; - } // getAllTagPhotos() + } // getPhotoSelection() public function showPhotoIndex() { if($_SESSION['searchfor'] == '') - $photos = $this->getAllTagPhotos(); + $photos = $this->getPhotoSelection(); else $photos = $this->getSearchResult($_SESSION['searchfor']); @@ -416,7 +416,7 @@ class PHPFSPOT { { if(!$idx) { /* get all available photos */ - $all = $this->getAllTagPhotos(); + $all = $this->getPhotoSelection(); } else $all = Array($idx); |