From eb138a8760a41c2cc995815bc4a53a859ecba967 Mon Sep 17 00:00:00 2001 From: Quitta Date: Sun, 15 Sep 2013 19:44:24 +0200 Subject: [PATCH] syncing small fix --- code/ryzom/tools/server/ryzom_ams/www/html/inc/syncing.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/ryzom/tools/server/ryzom_ams/www/html/inc/syncing.php b/code/ryzom/tools/server/ryzom_ams/www/html/inc/syncing.php index 994872129..7cc790a1a 100644 --- a/code/ryzom/tools/server/ryzom_ams/www/html/inc/syncing.php +++ b/code/ryzom/tools/server/ryzom_ams/www/html/inc/syncing.php @@ -7,7 +7,7 @@ */ function syncing(){ - if(Ticket_User::isAdmin($_SESSION['ticket_user'])){ + if(Ticket_User::isAdmin(unserialize($_SESSION['ticket_user']))){ //return a paginated version of all unsynced changes. $pagination = new Pagination("SELECT * FROM ams_querycache","lib",5,"Querycache"); @@ -16,6 +16,8 @@ function syncing(){ $pageResult['lastPage'] = $pagination->getLast(); $pageResult['currentPage'] = $pagination->getCurrent(); + global $INGAME_WEBPATH; + $pageResult['ingame_webpath'] = $INGAME_WEBPATH; //check if shard is online try{