issue120, parse_user_friendly_url() did an unwanted session cleanup
[phpfspot.git] / rpc.php
diff --git a/rpc.php b/rpc.php
index 5ff334e02995b72e6c9de2e2d1fa35d82184245c..f4a93ce6eb728a8232616ec6584a558e762cb19b 100644 (file)
--- a/rpc.php
+++ b/rpc.php
@@ -117,7 +117,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':