Skip to content

Commit f179369

Browse files
committed
updated
1 parent 9195377 commit f179369

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Block/Adminhtml/System/ListLicense.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ public function render(\Magento\Framework\Data\Form\Element\AbstractElement $ele
238238
if(!$value && isset($_extension['key']) && $_extension['key']){
239239
$value = $_extension['key'];
240240
}
241-
$value = trim($value);
241+
$value = @trim($value);
242242
$baseUrl = $this->_storeManager->getStore()->getBaseUrl(
243243
\Magento\Framework\UrlInterface::URL_TYPE_WEB
244244
);

view/frontend/templates/html/head.phtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
$data = $this->helper("Lof\All\Helper\Data");
33
$customCss = $data->getConfig('custom_css');
44
if ($customCss) {
5-
$customCss = strip_tags($customCss);
6-
$customCss = trim($customCss);
5+
$customCss = @strip_tags($customCss);
6+
$customCss = @trim($customCss);
77
}
88
?>
99
<?php if ($customCss) : ?>

0 commit comments

Comments
 (0)