summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a8a1d32)
raw | patch | inline | side by side (parent: a8a1d32)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 13 Aug 2008 12:22:34 +0000 (12:22 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 13 Aug 2008 12:22:34 +0000 (12:22 +0000) |
-Allow '0' as object name too.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12209 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12209 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/gofon/gofon/conference/class_phoneConferenceGeneric.inc | patch | blob | history | |
gosa-plugins/gofon/gofon/macro/class_gofonMacro.inc | patch | blob | history |
diff --git a/gosa-plugins/gofon/gofon/conference/class_phoneConferenceGeneric.inc b/gosa-plugins/gofon/gofon/conference/class_phoneConferenceGeneric.inc
index 4decf38ceaff8c844aa8ac73667f4fed13fc3c13..d10d1b85f6b9f1383fbde6940336d49eb4733869 100644 (file)
$message[]= msgPool::required(_("PIN"));
}
- if(empty($this->cn)){
+ if($this->cn == ""){
$message[] = msgPool::required(_("Name"));
}
diff --git a/gosa-plugins/gofon/gofon/macro/class_gofonMacro.inc b/gosa-plugins/gofon/gofon/macro/class_gofonMacro.inc
index 4f6df42f4508c65f12a2be9ef0c1a9717228d904..b5e20f0e812a9cb5ab5ccfa422cbf40faf8b7d21 100644 (file)
}
/* Check if display name is set */
- if(empty($this->displayName)){
+ if($this->displayName == ""){
$message[] = msgPool::required(_("Name"));
}
/* CN is restricted to 20 chars */