[*] Classes: Tools::property_exists() is deprecated, since PrestaShop now requires 5.1

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9408 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2011-10-18 09:02:57 +00:00
parent e5ae345855
commit 30835cb4c8
4 changed files with 12 additions and 9 deletions
+2 -2
View File
@@ -316,8 +316,8 @@ class AddressFormatCore extends ObjectModel
// Check if the property exist in both classes
if (($totalName == 2) && class_exists($associateName[0]) &&
Tools::property_exists($associateName[0], $associateName[1]) &&
Tools::property_exists($address, 'id_'.strtolower($associateName[0])))
property_exists($associateName[0], $associateName[1]) &&
property_exists($address, 'id_'.strtolower($associateName[0])))
{
$idFieldName = 'id_'.strtolower($associateName[0]);