summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a0560fa)
raw | patch | inline | side by side (parent: a0560fa)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 27 Sep 2006 08:08:56 +0000 (08:08 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 27 Sep 2006 08:08:56 +0000 (08:08 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4796 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/systems/class_glpiAccount.inc | patch | blob | history |
diff --git a/plugins/admin/systems/class_glpiAccount.inc b/plugins/admin/systems/class_glpiAccount.inc
index 10155ac1251153eb6bedc41f62b28b8601e700ff..8fe8796309c71eef804a28b79e88138cae1b439e 100644 (file)
}
/* Technical responsible person selected*/
- if(isset($_GET['act'])&&($_GET['act']=="user_tech_num")){
+ if(isset($_GET['act'])&&($_GET['act']=="user_tech_num")&&(strlen($_GET['id']) > 100)){
+ print_red(sprintf(_("Could not add the given user, the users dn is too long, only 100 characters are allowed here.")));
+
+ }elseif(isset($_GET['act'])&&($_GET['act']=="user_tech_num") && strlen($_GET['id'])){
+
/* Get posted id */
$id = base64_decode($_GET['id']);