X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=phpfspot.git;a=blobdiff_plain;f=rpc.php;h=ada2857a1083fbfec0cb70ee7dd206f025d166d0;hp=e2da768fc80751de41417aa854f953d66de4d9c9;hb=dcc26041d1dd86d47516e143fd5e475e588180cf;hpb=867cf65e5ec98f5be8529a584329385814543e4d diff --git a/rpc.php b/rpc.php index e2da768..ada2857 100644 --- 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':