Fix: view multi page
This commit is contained in:
parent
0bbde401ef
commit
51881e52e5
@ -662,7 +662,7 @@ function dol_convert_file($file,$ext='png')
|
|||||||
if ($ret)
|
if ($ret)
|
||||||
{
|
{
|
||||||
$count = $image->getNumberImages();
|
$count = $image->getNumberImages();
|
||||||
$ret = $image->writeImages( $file . "." . $ext, true );
|
$ret = $image->writeImage( $file . "." . $ext, true );
|
||||||
if ($ret) return $count;
|
if ($ret) return $count;
|
||||||
else return -3;
|
else return -3;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user