fixed redirect

This commit is contained in:
Roland Gruber 2017-03-20 21:11:42 +01:00
parent 572935dde8
commit 8161c897c6
1 changed files with 2 additions and 1 deletions

View File

@ -4,7 +4,7 @@ $Id$
This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/)
Copyright (C) 2008 Thomas Manninger
2009 - 2016 Roland Gruber
2009 - 2017 Roland Gruber
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@ -285,6 +285,7 @@ class lamDHCPList extends lamList {
$fragment = parent::listDoPost();
if (isset($_POST['dhcpDefaults'])) {
metaRefresh("../account/edit.php?type=dhcp&DN='".$_SESSION['config']->get_suffix('dhcp')."'");
die();
}
else {
return $fragment;