Merge branch 'MDL-61394-master-fix' of git://git.cameron1729.xyz/moodle

This commit is contained in:
Andrew Nicols 2018-02-20 10:41:39 +08:00
commit e63da7ba58

View File

@ -111,7 +111,7 @@ class core_scss extends \Leafo\ScssPhp\Compiler {
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(