Commit f426cdcd authored by Shakarim Sapa's avatar Shakarim Sapa

- Test

parent cbf7497a
...@@ -125,6 +125,11 @@ class CoContentLang extends \common\components\ActiveRecordModel ...@@ -125,6 +125,11 @@ class CoContentLang extends \common\components\ActiveRecordModel
{ {
if($block->lang) if($block->lang)
{ {
if ($block->name=='o-kompanii-data-centr')
{
var_dump($block->lang->text);
die;
}
$arrWhatReplace[] = '{' . $block->name . '}'; $arrWhatReplace[] = '{' . $block->name . '}';
$arrReplace[] = $block->lang->text; $arrReplace[] = $block->lang->text;
$arrWhatReplaceNext[] = '[' . $block->name . ']'; $arrWhatReplaceNext[] = '[' . $block->name . ']';
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment