issue122, use one text-field instead of 3 separated for year, month and date
[phpfspot.git] / rpc.php
diff --git a/rpc.php b/rpc.php
index 5ff334e02995b72e6c9de2e2d1fa35d82184245c..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'];
 
-            $phpfspot->showPhotoIndex();
+            print $phpfspot->showPhotoIndex();
             break;
    
          case 'showcredits':