summaryrefslogtreecommitdiff
path: root/www-ssl
diff options
context:
space:
mode:
authorcookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8>2006-11-10 13:43:13 +0000
committercookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8>2006-11-10 13:43:13 +0000
commit8be562586384df1d570601d3078370bab0e1a525 (patch)
tree58c5962cbad0aa293a80ede44e1f6b423df58a3a /www-ssl
parent206ded812154c00efe94cbe4d251319530df6fdc (diff)
moeglich fehler abgefangen
git-svn-id: svn://svn.cccv.de/engel-system@154 29ba0400-6e00-0410-a75a-ca02368028f8
Diffstat (limited to 'www-ssl')
-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":