summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-03-06 18:50:41 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-03-06 18:50:41 +0000
commit01e8633b6dba1490e43e15f32c0f11c67973a6aa (patch)
treebaa176df1feeb389ef1df90ed543ef41fe4bb18a
parentb630b62de470aa78d78738b895a92e4794bc274b (diff)
downloadpfsense-01e8633b6dba1490e43e15f32c0f11c67973a6aa.zip
pfsense-01e8633b6dba1490e43e15f32c0f11c67973a6aa.tar.gz
Do not redirect if preoutput is setup
-rwxr-xr-xusr/local/www/pkg_edit.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/pkg_edit.php b/usr/local/www/pkg_edit.php
index 209d8dc..aec798d 100755
--- a/usr/local/www/pkg_edit.php
+++ b/usr/local/www/pkg_edit.php
@@ -198,7 +198,8 @@ include("fbegin.inc");
if($pkg['aftersaveredirect'] <> "") {
header("Location: " . $pkg['aftersaveredirect']);
} else {
- header("Location: pkg.php?xml=" . $xml);
+ if(!$pkg['preoutput'])
+ header("Location: pkg.php?xml=" . $xml);
}
exit;
}
OpenPOWER on IntegriCloud