summaryrefslogtreecommitdiffstats
path: root/rpc.php
diff options
context:
space:
mode:
Diffstat (limited to 'rpc.php')
-rw-r--r--rpc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpc.php b/rpc.php
index bdb6206..f4a93ce 100644
--- a/rpc.php
+++ b/rpc.php
@@ -65,7 +65,7 @@ class PHPFSPOT_RPC {
switch($action) {
case 'showphoto':
if(isset($_GET['id']) && is_numeric($_GET['id'])) {
- $phpfspot->showPhoto($_GET['id']);
+ print $phpfspot->showPhoto($_GET['id']);
}
break;
@@ -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':