Commit e9c39d0f authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

fixed page number

parent d3cc6629
......@@ -214,7 +214,12 @@ function elphel_specific_result_name($file){
}
}else{
$k = intval($exif['PageNumber'])+1;
$ks = $exif['PageNumber'];
if (count($ks==2)){
$k = $ks[0];
}else{
$k = intval($exif['PageNumber'])+1;
}
}
}else{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment