summaryrefslogtreecommitdiffstats
path: root/rpc.php
diff options
context:
space:
mode:
Diffstat (limited to 'rpc.php')
-rw-r--r--rpc.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/rpc.php b/rpc.php
index 4bb2973..ad80ca5 100644
--- a/rpc.php
+++ b/rpc.php
@@ -99,6 +99,9 @@ class PHPFSPOT_RPC {
else {
unset($_SESSION['begin_with']);
}
+ if(isset($_GET['last_photo']) && is_numeric($_GET['last_photo']))
+ $_SESSION['last_photo'] = $_GET['last_photo'];
+
$fspot->showPhotoIndex();
break;