mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Redirect to edit page afer add bill
This commit is contained in:
@@ -79,7 +79,7 @@ if ($_POST['addbill'] == 'yes') {
|
|||||||
dbInsert(array('bill_id' => $bill_id, 'port_id' => $_POST['port']), 'bill_ports');
|
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();
|
exit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user