From 0594cf644032394ead1511e1a3031f3c109dde35 Mon Sep 17 00:00:00 2001 From: Fabrice Luraine Date: Fri, 31 Jul 2009 15:34:02 +0200 Subject: [PATCH] Fixing flash bug while redirect_to [#16 state:resolved] --- lib/limonade.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/limonade.php b/lib/limonade.php index 73cfa30..2fd0b41 100644 --- a/lib/limonade.php +++ b/lib/limonade.php @@ -1754,6 +1754,7 @@ function redirect_to($params) if(!headers_sent()) { $uri = call_user_func_array('url_for', $params); + stop_and_exit(false); header('Location: '.$uri); exit; }