on-mouse-over of a tag in the available-tag-list, display amount of photos matching...
[phpfspot.git] / rpc.php
diff --git a/rpc.php b/rpc.php
index e2da768fc80751de41417aa854f953d66de4d9c9..ada2857a1083fbfec0cb70ee7dd206f025d166d0 100644 (file)
--- a/rpc.php
+++ b/rpc.php
@@ -98,6 +98,7 @@ class PHPFSPOT_RPC {
             $phpfspot->resetNameSearch();
             $phpfspot->resetTags();
             $phpfspot->resetDateSearch();
+            $phpfspot->resetRateSearch();
             $phpfspot->resetPhotoView();
             break;
 
@@ -117,7 +118,7 @@ class PHPFSPOT_RPC {
             if(isset($_GET['last_photo']) && is_numeric($_GET['last_photo']))
                $_SESSION['last_photo'] = $_GET['last_photo'];
 
-            return $phpfspot->showPhotoIndex();
+            print $phpfspot->showPhotoIndex();
             break;
    
          case 'showcredits':