Project

General

Profile

« Previous | Next » 

Revision 01e8633b

Added by Scott Ullrich over 20 years ago

Do not redirect if preoutput is setup

View differences:

usr/local/www/pkg_edit.php
198 198
		if($pkg['aftersaveredirect'] <> "") {
199 199
		    header("Location:  " . $pkg['aftersaveredirect']);
200 200
		} else {
201
		    header("Location:  pkg.php?xml=" . $xml);
201
		    if(!$pkg['preoutput'])
202
			header("Location:  pkg.php?xml=" . $xml);
202 203
		}
203 204
		exit;
204 205
	}

Also available in: Unified diff