mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-25 16:44:28 +00:00
Fixed export Bug with PHP5.4
This commit is contained in:
@@ -48,7 +48,13 @@ class dokument_export
|
|||||||
|
|
||||||
exec('unoconv --version',$ret_arr);
|
exec('unoconv --version',$ret_arr);
|
||||||
if(isset($ret_arr[0]))
|
if(isset($ret_arr[0]))
|
||||||
$this->unoconv_version = explode(' ',$ret_arr[0])[1];
|
{
|
||||||
|
$hlp = explode(' ',$ret_arr[0]);
|
||||||
|
if(isset($hlp[1]))
|
||||||
|
$this->unoconv_version = $hlp[1];
|
||||||
|
else
|
||||||
|
die('Could not get Unoconv Version');
|
||||||
|
}
|
||||||
else
|
else
|
||||||
die('Unoconv not found');
|
die('Unoconv not found');
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user