diff options
author | Klap-in <klapinklapin@gmail.com> | 2013-08-03 10:44:54 +0200 |
---|---|---|
committer | Klap-in <klapinklapin@gmail.com> | 2013-08-03 10:44:54 +0200 |
commit | 6acfab8732e1784b953c8cc2ae7408f84fda7ce8 (patch) | |
tree | 01e6ac38df46c9ad18f058c8d597617702eb67f3 /lib/exe/fetch.php | |
parent | 51bd6f039e782dca456022514893aa80bd7c52b9 (diff) | |
parent | cab505616ec9b8ef3cd671e7337c91d065745932 (diff) | |
download | rpg-6acfab8732e1784b953c8cc2ae7408f84fda7ce8.tar.gz rpg-6acfab8732e1784b953c8cc2ae7408f84fda7ce8.tar.bz2 |
Merge remote-tracking branch 'origin/master' into changelogtestsonly
Diffstat (limited to 'lib/exe/fetch.php')
-rw-r--r-- | lib/exe/fetch.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/exe/fetch.php b/lib/exe/fetch.php index 7a2250373..5967494bf 100644 --- a/lib/exe/fetch.php +++ b/lib/exe/fetch.php @@ -60,6 +60,7 @@ if (defined('SIMPLE_TEST')) { if($evt->advise_before()) { // redirects if($data['status'] > 300 && $data['status'] <= 304) { + if (defined('SIMPLE_TEST')) return; //TestResponse doesn't recognize redirects send_redirect($data['statusmessage']); } // send any non 200 status |