summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7299029)
raw | patch | inline | side by side (parent: 7299029)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 3 Nov 2008 07:38:44 +0000 (07:38 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 3 Nov 2008 07:38:44 +0000 (07:38 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12859 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_plugin.inc | patch | blob | history | |
gosa-core/include/functions.inc | patch | blob | history |
index 4af34f1c63034b6943884472db98e7a5bd36c623..88fccb4a09552577a803433ada5220f8e21fa9a3 100644 (file)
foreach ($this->attributes as $val){
$found= array_key_ics($val, $this->attrs);
if ($found != ""){
- $this->$val= $this->attrs["$found"][0];
+ $this->$val= $found[0];
}
}
index df091fca67fe5fd92252ededf500461974d146e8..7d97d0117a934214f97b812d546bcfdfab67ba74 100644 (file)
function array_key_ics($ikey, $items)
{
- $tmp= array_change_key_case($itmes, CASE_LOWER);
+ $tmp= array_change_key_case($items, CASE_LOWER);
$ikey= strtolower($ikey);
if (isset($tmp[$ikey])){
return($tmp[$ikey]);