Cleanup: obsolescence of "key_label" property on persistent classes

SVN:trunk[473]
This commit is contained in:
Romain Quetiez
2010-06-23 14:32:54 +00:00
parent 4cb5651dca
commit d58a82c6c2
25 changed files with 51 additions and 105 deletions

View File

@@ -936,6 +936,7 @@ class AttributeEnum extends AttributeString
public function GetAllowedValues($aArgs = array(), $sBeginsWith = '')
{
$aRawValues = parent::GetAllowedValues($aArgs, $sBeginsWith);
if (is_null($aRawValues)) return null;
$aLocalizedValues = array();
foreach ($aRawValues as $sKey => $sValue)
{