[-] BO : fixed bug #PSFV-738 - [1.4 compatibility] : some option list parameters not supported in 1.5

This commit is contained in:
vAugagneur committed 2012-03-29 08:13:04 +00:00
1 parent 4570e96eb8
commit 1b4093ba12
1 file changed
+1 -1
+1 -1
View File
@@ -1896,7 +1896,7 @@ abstract class AdminTabCore
// Display option inputs // Display option inputs
$method = 'displayOptionType'.Tools::toCamelCase($field['type'], true); $method = 'displayOptionType'.Tools::toCamelCase($field['type'], true);
if (!method_exists($this, $method)) if (!method_exists($this, $method))
echo 'Option method '.get_class($this).'-&gt;'.$method.'() not found<br />'; $this->displayOptionTypeText($key, $field, $value);//default behavior
else else
$this->$method($key, $field, $value); $this->$method($key, $field, $value);