File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
view/frontend/templates/html Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -238,7 +238,7 @@ public function render(\Magento\Framework\Data\Form\Element\AbstractElement $ele
238
238
if (!$ value && isset ($ _extension ['key ' ]) && $ _extension ['key ' ]){
239
239
$ value = $ _extension ['key ' ];
240
240
}
241
- $ value = trim ($ value );
241
+ $ value = @ trim ($ value );
242
242
$ baseUrl = $ this ->_storeManager ->getStore ()->getBaseUrl (
243
243
\Magento \Framework \UrlInterface::URL_TYPE_WEB
244
244
);
Original file line number Diff line number Diff line change 2
2
$ data = $ this ->helper ("Lof\All\Helper\Data " );
3
3
$ customCss = $ data ->getConfig ('custom_css ' );
4
4
if ($ customCss ) {
5
- $ customCss = strip_tags ($ customCss );
6
- $ customCss = trim ($ customCss );
5
+ $ customCss = @ strip_tags ($ customCss );
6
+ $ customCss = @ trim ($ customCss );
7
7
}
8
8
?>
9
9
<?php if ($ customCss ) : ?>
You can’t perform that action at this time.
0 commit comments