Skip to content

Commit

Permalink
[#16] "Add Item" Replacement does not work
Browse files Browse the repository at this point in the history
Signed-off-by: Bruno Perner <b.perner@gmx.de>
  • Loading branch information
Bruno17 committed May 11, 2012
1 parent bf563bd commit e3cab18
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/components/migx/elements/tv/input/migx.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ public function process($value, array $params = array())
$lang = $this->modx->lexicon->fetch();
$lang['migx_add'] = !empty($properties['btntext']) ? $properties['btntext'] : $lang['migx.add'];
$lang['migx_add'] = str_replace("'", "\'", $lang['migx_add']);
$this->migx->addLangValue('migx.add',$lang['migx_add']);
$this->setPlaceholder('i18n', $lang);
$this->setPlaceholder('properties', $properties);
$this->setPlaceholder('resource', $resource_array);
Expand Down

0 comments on commit e3cab18

Please sign in to comment.