summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inc/common.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/inc/common.php b/inc/common.php
index b5fdd1ea5..2c9359a0c 100644
--- a/inc/common.php
+++ b/inc/common.php
@@ -1828,6 +1828,8 @@ function send_redirect($url) {
} else {
header('Location: '.$url);
}
+
+ if(defined('DOKU_UNITTEST')) return; // no exits during unit tests
exit;
}