summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2602ed7)
raw | patch | inline | side by side (parent: 2602ed7)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 4 Oct 2005 05:40:17 +0000 (05:40 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 4 Oct 2005 05:40:17 +0000 (05:40 +0000) |
Because this->attrs['objectClass'] wasn't defined in this case.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1455 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1455 594d385d-05f5-0310-b6e9-bd551577e9d8
TODO | patch | blob | history | |
plugins/admin/systems/class_servService.inc | patch | blob | history |
index 6beeeeccfc44e4bd5b64068ce47799a4c35b8fe1..980102b594842ffe215e6d55fb18ba50514027b2 100644 (file)
--- a/TODO
+++ b/TODO
* Removing of servers produces error messages
-* Creating servers produces PHP error messages
-
* Disabling error messages doesn't work
* Phoneaccount -> defaults + auto fill
diff --git a/plugins/admin/systems/class_servService.inc b/plugins/admin/systems/class_servService.inc
index 2ee9fc90b1c99d0822027d216ca59339839ef690..5b49f90372bafe1929afe3392b681e1491150acc 100644 (file)
/* Always is account... */
$this->is_account= TRUE;
- if(is_array($this->attrs['objectClass'])){
+ /* Check if goShareServer is defined */
+ if((isset($this->attrs['objectClass']))&&(is_array($this->attrs['objectClass']))){
if(in_array("goShareServer",$this->attrs['objectClass'])){
$this->goShareServer = true;
}