Redirect to edit page afer add bill

This commit is contained in:
Richard Lawley
2016-03-09 08:26:32 +00:00
parent fca483439e
commit 972429838b

View File

@@ -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();
}