diff options
author | Andreas Unterkircher <unki@netshadow.at> | 2008-08-18 06:16:37 +0200 |
---|---|---|
committer | Andreas Unterkircher <unki@netshadow.at> | 2008-08-18 06:16:37 +0200 |
commit | 4712f548702a1a7f9ad86360ebd1fa44356791a3 (patch) | |
tree | 1acc716fd123ab8a7077b39cdd31d43d7184c853 /rpc.php | |
parent | c1811f2887d9a888247ffb87b0b693ef1646dae0 (diff) | |
parent | 88e26f8f6bdc9dcb443759ec2781f343146bb889 (diff) |
fix conflict in phpfspot.class.php
Signed-off-by: Andreas Unterkircher <unki@netshadow.at>
Diffstat (limited to 'rpc.php')
-rw-r--r-- | rpc.php | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -135,13 +135,20 @@ class PHPFSPOT_RPC { } break; + case 'update_photo_version': + if(isset($_POST['photo_version']) && is_numeric($_POST['photo_version']) && + isset($_POST['photo_idx']) && is_numeric($_POST['photo_idx'])) { + print $phpfspot->update_photo_version($_POST['photo_idx'], $_POST['photo_version']); + } + break; + case 'get_export': /* $_GET['mode'] will be validated by getExport() */ $phpfspot->getExport($_GET['mode']); break; case 'get_photo_to_show': - $phpfspot->getCurrentPhoto(); + print $phpfspot->get_current_photo(); break; case 'get_calendar_matrix': |