Skip to content

Commit f2fcdf9

Browse files
committed
Fix error in PHP 7.2
1 parent 9f9d282 commit f2fcdf9

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
## WIP
44
- Tweak some CSS for stylelint update
5+
- Fix error in PHP 7.2
56

67
## 1.1.1
78
- Fix image resize/optimiser

helper.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,7 @@ private function saveCss($json)
4646
$string .= '}';
4747

4848
// Write to file
49-
file_put_contents(
50-
JPATH_SITE . '/templates/lightning/css/custom-variables.css',
51-
$string,
52-
);
49+
file_put_contents(JPATH_SITE . '/templates/lightning/css/custom-variables.css', $string);
5350

5451
$response = Text::_('CSS variables saved');
5552
}

0 commit comments

Comments
 (0)