Index: trunk/kernel/include/item.php =================================================================== diff -u -r713 -r805 --- trunk/kernel/include/item.php (.../item.php) (revision 713) +++ trunk/kernel/include/item.php (.../item.php) (revision 805) @@ -166,10 +166,20 @@ { if(!$this->CustomLoaded) $this->LoadCustomFields(); + $fieldname=strtolower($fieldname); + foreach($this->CustomFields as $k=>$v) + if(strtolower($k)==$fieldname) + return $v; + return $default; + if(isset($this->CustomFields[$fieldname])) { $ret = $this->CustomFields[$fieldname]; } + elseif(isset($this->CustomFields[$fieldname=strtolower($fieldname)])) + { + $ret = $this->CustomFields[$fieldname]; + } else $ret = $default; return $ret;