mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-09 13:06:14 +00:00
use method wasSuccessful() to check if conversion succeeded
This commit is contained in:
parent
5a778a1b75
commit
a8474b08c6
|
@ -86,7 +86,7 @@ class SeedDMS_ConversionMgr {
|
||||||
for(end($services); key($services)!==null; prev($services)) {
|
for(end($services); key($services)!==null; prev($services)) {
|
||||||
$service = current($services);
|
$service = current($services);
|
||||||
$text = $service->convert($file, $target, $params);
|
$text = $service->convert($file, $target, $params);
|
||||||
if($text === false)
|
if(!$service->wasSuccessful())
|
||||||
return false;
|
return false;
|
||||||
if($text)
|
if($text)
|
||||||
return $text;
|
return $text;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user