Skip to content

Commit

Permalink
MDL-61394 core_scss: Null coalesce path to sassc setting
Browse files Browse the repository at this point in the history
  • Loading branch information
cameorn1730 authored and andrewnicols committed Feb 22, 2018
1 parent 2b32b1f commit 40e5359
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/classes/scss.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public function to_css() {
public function compile($code, $path = null) {
global $CFG;

$pathtosassc = trim($CFG->pathtosassc);
$pathtosassc = trim($CFG->pathtosassc ?? '');

if (!empty($pathtosassc) && is_executable($pathtosassc) && !is_dir($pathtosassc)) {
$process = proc_open(
Expand Down

0 comments on commit 40e5359

Please sign in to comment.