X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=blobdiff_plain;f=JsCompile.php;h=c53bf6c6f8cd9119aa2a3df72f7a0a67c04c1920;hp=90253343bf659f4ad4a809ff6ec03c6355a56c76;hb=HEAD;hpb=87bd221ccdc63e0b75de7bed75a8f9c114a837b8 diff --git a/JsCompile.php b/JsCompile.php index 90253343..089db58d 100644 --- a/JsCompile.php +++ b/JsCompile.php @@ -262,7 +262,7 @@ class Pman_Core_JsCompile extends Pman $cmd = "$pg roojspacker"; $res = `$cmd`; - $out = trim($res); + $out = empty($res) ? '' : trim($res); if (strlen($out) > 0) { echo ''; return false;