Commit f407bad4 authored by Andrey Filippov's avatar Andrey Filippov

bug fix in line 218

parent c55c7a86
......@@ -215,7 +215,7 @@ function elphel_specific_result_name($file){
}else{
$ks = $exif['PageNumber'];
if (count($ks==2)){
if (is_array($ks) && (count($ks) ==2)){
$k = $ks[0];
}else{
$k = intval($exif['PageNumber'])+1;
......
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