diff --git a/core/control/FormResponse.php b/core/control/FormResponse.php index 88f8083a7..b6a62569f 100755 --- a/core/control/FormResponse.php +++ b/core/control/FormResponse.php @@ -84,9 +84,11 @@ class FormResponse { } elseif(!empty(self::$redirect_url)) { Director::redirect(self::$redirect_url); return null; - } else { + } elseif(!Director::redirected_to()) { Director::redirectBack(); return null; + } else { + return null; } }