Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/webapp/webservice/index.php

    r5149714 r9160ba0  
    9292                                if(!is_numeric($tmp[$key]) || is_nan($tmp[$key])){
    9393                                        $allValid = false;
    94                                         if($debug > 1){
    95                                                 echo "Invalid value ". $key ." (". $tmp[$key] .") at time ". $time ."<br/>";
    96                                         }
    9794                                }
    9895                                elseif(array_key_exists($key, $configRound) && is_integer($configRound[$key]))
    … …  
    10198                }
    10299                // only add the timeframe to the track, if the values are valid and we had a gps fix at that time
    103                 if($allValid){
    104                         if(!array_key_exists($time, $result["track"])){
     100                if($allValid && $tmp["gpsfix"] != "-"){
     101                        echo "want to add ". $time ."<br/>\n";
     102                        if(!array_key_exists($time, $result["track"])){
    105103                                $result["track"][$time] = $tmp;
    106                         }
     104                        }
    107105                        $lastTime = $time;
    108106                }
Note: See TracChangeset for help on using the changeset viewer.