diff --git a/action/export.php b/action/export.php index 906c65b..24f716c 100644 --- a/action/export.php +++ b/action/export.php @@ -302,8 +302,7 @@ protected function collectExportPages(Doku_Event $event) { // exit(); // } - $json = new JSON(JSON_LOOSE_TYPE); - $list = $json->decode($INPUT->post->str('selection', '', true)); + $list = json_decode($INPUT->post->str('selection', '', true)); if(!is_array($list) || empty($list)) { http_status(400); print $this->getLang('empty');