From 74d96a099c00923bf0dab307981c6be0cf4971b9 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Fri, 7 Feb 2014 20:10:41 +0000 Subject: [PATCH] fixed typo --- lam/templates/delete.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lam/templates/delete.php b/lam/templates/delete.php index 0018a41e..47c92a3a 100644 --- a/lam/templates/delete.php +++ b/lam/templates/delete.php @@ -4,7 +4,7 @@ This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/) Copyright (C) 2003 - 2006 Tilo Lutz - Copyright (C) 2007 - 2011 Roland Gruber + Copyright (C) 2007 - 2014 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 @@ -142,7 +142,7 @@ elseif (isset($_POST['cancelAllOk'])) { } if (isset($_POST['delete'])) { - if (!checkIfDeleteEntriesIsAllowed($_POST['type']) || !checkIfWriteAccessIsAllowed($_GET['type'])) { + if (!checkIfDeleteEntriesIsAllowed($_POST['type']) || !checkIfWriteAccessIsAllowed($_POST['type'])) { logNewMessage(LOG_ERR, 'User tried to delete entries of forbidden type '. $_POST['type']); die(); }