additional checks
This commit is contained in:
parent
6418d24cdd
commit
3484997240
|
@ -55,7 +55,7 @@ if (isset($dn) && isset($type)) {
|
||||||
$dn = str_replace("'", '',$dn);
|
$dn = str_replace("'", '',$dn);
|
||||||
$_SESSION['delete_dn'] = array($dn);
|
$_SESSION['delete_dn'] = array($dn);
|
||||||
// redirect to delete.php
|
// redirect to delete.php
|
||||||
metaRefresh("../delete.php?type=" . $type);
|
metaRefresh("../delete.php?type=" . htmlspecialchars($type));
|
||||||
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
|
@ -58,7 +58,7 @@ if ($dn) {
|
||||||
else {
|
else {
|
||||||
// print error message if user was not found
|
// print error message if user was not found
|
||||||
include '../main_header.php';
|
include '../main_header.php';
|
||||||
StatusMessage("ERROR", "", _("This user was not found!") . " (" . $user . ")");
|
StatusMessage("ERROR", "", _("This user was not found!") . " (" . htmlspecialchars($user) . ")");
|
||||||
echo "<p> </p>";
|
echo "<p> </p>";
|
||||||
echo "<p><a href=\"list.php?type=group\">" . _("Back to group list") . "</a></p>";
|
echo "<p><a href=\"list.php?type=group\">" . _("Back to group list") . "</a></p>";
|
||||||
include '../main_footer.php';
|
include '../main_footer.php';
|
||||||
|
|
Loading…
Reference in New Issue