Fix: view multi page

This commit is contained in:
Regis Houssin 2011-03-04 18:50:55 +00:00
parent 0bbde401ef
commit 51881e52e5

View File

@ -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;
} }