Skip to content

Commit

Permalink
Deprecated functionality: preg_replace()
Browse files Browse the repository at this point in the history
  • Loading branch information
ADDISON74 authored Oct 25, 2024
1 parent 94ee1fc commit 952b3af
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function render(Varien_Data_Form_Element_Abstract $element)
$isMultiple = $element->getExtType() === 'multiple';

// replace [value] with [inherit]
$namePrefix = preg_replace('#\[value\](\[\])?$#', '', $element->getName());
$namePrefix = preg_replace('#\[value\](\[\])?$#', '', $element->getName() ?? '');

$options = $element->getValues();

Expand Down

0 comments on commit 952b3af

Please sign in to comment.