From 758a9d598bd1990de3a57e07672560f02cc22251 Mon Sep 17 00:00:00 2001 From: jmontoyaa Date: Tue, 13 Feb 2018 13:04:23 +0100 Subject: [PATCH] Minor - fix redirect --- main/document/save_pixlr.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/document/save_pixlr.php b/main/document/save_pixlr.php index 202714e585..07e4a961ff 100755 --- a/main/document/save_pixlr.php +++ b/main/document/save_pixlr.php @@ -214,7 +214,7 @@ $exit = Session::read('exit_pixlr'); if (empty($exit)) { $location = api_get_path(WEB_CODE_PATH).'document/document.php?'.api_get_cidreq(); echo ''; - api_not_allowed(true); + exit; } else { echo '
'.get_lang('PleaseStandBy').'
'; $location = api_get_path(WEB_CODE_PATH).'document/document.php?id='.Security::remove_XSS($exit).'&'.api_get_cidreq();