From 8161c897c664db4c9a19cd63b25d970fa45f7e63 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Mon, 20 Mar 2017 21:11:42 +0100 Subject: [PATCH] fixed redirect --- lam/lib/types/dhcp.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lam/lib/types/dhcp.inc b/lam/lib/types/dhcp.inc index 8470b91b..daf27578 100644 --- a/lam/lib/types/dhcp.inc +++ b/lam/lib/types/dhcp.inc @@ -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;