diff options
author | Ermal <eri@pfsense.org> | 2014-02-18 19:50:48 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2014-02-18 19:51:04 +0000 |
commit | e9567122370b15f3d7290c96058438e78bbd57af (patch) | |
tree | e80db200f970ecbaa00c729e54aee0f1c1f94111 /usr/local/www | |
parent | 26e58bb20544fec9afb5e17c497faf1621a10e63 (diff) | |
download | pfsense-e9567122370b15f3d7290c96058438e78bbd57af.zip pfsense-e9567122370b15f3d7290c96058438e78bbd57af.tar.gz |
Sprinkle ob_flush to avoid some warnings on 2.1
Diffstat (limited to 'usr/local/www')
-rwxr-xr-x | usr/local/www/pkg_mgr_install.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/local/www/pkg_mgr_install.php b/usr/local/www/pkg_mgr_install.php index 8bf431b..e586c3f 100755 --- a/usr/local/www/pkg_mgr_install.php +++ b/usr/local/www/pkg_mgr_install.php @@ -60,6 +60,7 @@ include("head.inc"); if ($_POST) { if (isset($_POST['pkgcancel']) || (empty($_POST['id']) && $_POST['mode'] != 'reinstallall')) { header("Location: pkg_mgr_installed.php"); + ob_flush(); return; } } else if ($_GET) { @@ -72,12 +73,14 @@ if ($_POST) { case 'delete': if (empty($_GET['pkg'])) { header("Location: pkg_mgr_installed.php"); + ob_flush(); return; } break; default: if (empty($_GET['id'])) { header("Location: pkg_mgr_installed.php"); + ob_flush(); return; } break; |