PHP compatibility fix

This commit is contained in:
Andreas Österreicher
2018-02-08 19:37:58 +01:00
parent 9f4f4909b9
commit d23e44643d
+4 -1
View File
@@ -92,7 +92,10 @@ printValue("php-curl", extension_loaded('curl'));
$returnArray = array();
exec('unoconv --version',$returnArray);
if(isset($returnArray[0]))
$unoconvVersion = explode(' ',$returnArray[0])[1];
{
$hlp = explode(' ',$returnArray[0]);
$unoconvVersion = $hlp[1];
}
else
$unoconvVersion = false;