summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 595ed7a)
raw | patch | inline | side by side (parent: 595ed7a)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 6 Oct 2005 11:37:01 +0000 (11:37 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 6 Oct 2005 11:37:01 +0000 (11:37 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1508 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/fai/class_faiPackage.inc | patch | blob | history |
index dc22f0a0fdbab5db7fa7f644e93b530140894608..b65a2b55a0443ad1464f0bcc2f6ce603a5e89aab 100644 (file)
$this->disableRepository=true;
}
- unset($this->attrs['FAIpackage']['count']);
- foreach($this->attrs['FAIpackage'] as $pkg){
- $this->usedPackages[$pkg] = $pkg;
- }
+ if(isset($this->attrs['FAIpackage'])){
+ unset($this->attrs['FAIpackage']['count']);
+ foreach($this->attrs['FAIpackage'] as $pkg){
+ $this->usedPackages[$pkg] = $pkg;
+ }
+ }else{
+ $this->usedPackages = array();;
+ }
$this->confDir = CONFIG_DIR."/fai/";
$this->FAIpackage = array();
}