Skip to content
Browse files

[#16] "Add Item" Replacement does not work

Signed-off-by: Bruno Perner <b.perner@gmx.de>
  • Loading branch information...
1 parent bf563bd commit e3cab18f0a0d870088440353e7198414dcfc77a5 @Bruno17 committed May 11, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 core/components/migx/elements/tv/input/migx.class.php
View
1 core/components/migx/elements/tv/input/migx.class.php
@@ -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);

0 comments on commit e3cab18

Please sign in to comment.
Something went wrong with that request. Please try again.