summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xwww-ssl/admin/user2.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/www-ssl/admin/user2.php b/www-ssl/admin/user2.php
index 131f544c..d81c2cca 100755
--- a/www-ssl/admin/user2.php
+++ b/www-ssl/admin/user2.php
@@ -44,7 +44,7 @@ if (IsSet($_GET["action"]))
echo "Fehler beim speichern...\n(". mysql_error($con). ")";
}
}
- if ($_POST["Type"] == "Secure")
+ elseif ($_POST["Type"] == "Secure")
{
$SQL2 = "UPDATE `UserCVS` SET ";
$SQL_CVS = "SELECT * FROM `UserCVS` WHERE UID=". $_POST["enterUID"];
@@ -67,7 +67,11 @@ if (IsSet($_GET["action"]))
echo "Fehler beim speichern...\n(". mysql_error($con). ")";
}
}
+ else
+ echo "<h1>Fehler: Unbekanter Type (". $_POST["Type"]. ") übergeben\n</h1>\n"
}
+ else
+ echo "<h1>Fehler: UserID (enterUID) wurde nicht per POST übergeben</h1>\n"
break;
case "delete":