Commit c55c7a86 authored by Andrey Filippov's avatar Andrey Filippov
Browse files

got rid of PHP Warning: count(): Parameter must be an array or an object that...

got rid of PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /home/eyesis/git/elphel-tools-x393/extract_images.php on line 218
parent 3a4084ba
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;