This repository was archived by the owner on May 20, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +13
-11
lines changed Expand file tree Collapse file tree 2 files changed +13
-11
lines changed Original file line number Diff line number Diff line change @@ -326,7 +326,7 @@ public function getVariablesOptionArray($withGroup = false)
326326 $ optionArray [] = ['value ' => '{{ ' . $ value . '}} ' , 'label ' => __ ('%1 ' , $ label )];
327327 }
328328 if ($ withGroup ) {
329- $ optionArray = ['label ' => __ ('Template Variables ' ), 'value ' => $ optionArray ];
329+ $ optionArray = [[ 'label ' => __ ('Template Variables ' ), 'value ' => $ optionArray] ];
330330 }
331331 }
332332 return $ optionArray ;
Original file line number Diff line number Diff line change @@ -598,16 +598,18 @@ public function getVariablesOptionArrayDataProvider()
598598 'label ' => __ ('Template Variables ' ),
599599 'value ' => [
600600 [
601- 'value ' => '{{store url=""}} ' ,
602- 'label ' => __ ('%1 ' , 'Store Url ' ),
603- ],
604- [
605- 'value ' => '{{var logo_url}} ' ,
606- 'label ' => __ ('%1 ' , 'Email Logo Image Url ' ),
607- ],
608- [
609- 'value ' => '{{var customer.name}} ' ,
610- 'label ' => __ ('%1 ' , 'Customer Name ' ),
601+ [
602+ 'value ' => '{{store url=""}} ' ,
603+ 'label ' => __ ('%1 ' , 'Store Url ' ),
604+ ],
605+ [
606+ 'value ' => '{{var logo_url}} ' ,
607+ 'label ' => __ ('%1 ' , 'Email Logo Image Url ' ),
608+ ],
609+ [
610+ 'value ' => '{{var customer.name}} ' ,
611+ 'label ' => __ ('%1 ' , 'Customer Name ' ),
612+ ],
611613 ],
612614 ],
613615 ],
You can’t perform that action at this time.
0 commit comments