summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d334f4f)
raw | patch | inline | side by side (parent: d334f4f)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 10 Apr 2008 10:57:09 +0000 (10:57 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 10 Apr 2008 10:57:09 +0000 (10:57 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10318 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/admin/systems/goto/class_terminalGeneric.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/admin/systems/goto/class_terminalGeneric.inc b/gosa-plugins/goto/admin/systems/goto/class_terminalGeneric.inc
index 9c9216ee1cfb73e677c08a11139b05262c4044ab..f80dc1c969d9f3829319a825e0c56a5d0d9ecc58 100644 (file)
$this->gotoNtpServer= array();
if(isset($this->attrs['gotoNtpServer'])){
$this->inheritTimeServer = false;
- unset($this->attrs['gotoNtpServer']['count']);
- foreach($this->attrs['gotoNtpServer'] as $server){
+ for($i = 0 ; $i < $this->attrs['gotoNtpServer']['count']; $i++ ){
+ $server = $this->attrs['gotoNtpServer'][$i];
$this->gotoNtpServer[$server] = $server;
}
}