From 972429838b7c2f935257ada8c39c4721244f2dfe Mon Sep 17 00:00:00 2001 From: Richard Lawley Date: Wed, 9 Mar 2016 08:26:32 +0000 Subject: [PATCH] Redirect to edit page afer add bill --- html/pages/bills.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/pages/bills.inc.php b/html/pages/bills.inc.php index 01deb9d873..759a0697d1 100644 --- a/html/pages/bills.inc.php +++ b/html/pages/bills.inc.php @@ -79,7 +79,7 @@ if ($_POST['addbill'] == 'yes') { dbInsert(array('bill_id' => $bill_id, 'port_id' => $_POST['port']), 'bill_ports'); } - header('Location: /' . generate_url(array('page' => 'bill', 'bill_id' => $bill_id))); + header('Location: /' . generate_url(array('page' => 'bill', 'bill_id' => $bill_id, 'view' => 'edit'))); exit(); }