Changeset 0e5045f for src/webapp/webservice/index.php
- Timestamp:
- Jul 21, 2016, 3:01:13 PM (10 years ago)
- Branches:
- 0.5, app-cordova, debian/bullseye, debian/jessie, master
- Children:
- 57449c8, 6c57d0a
- Parents:
- 89c32b1 (diff), 76bbdad (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
src/webapp/webservice/index.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/webapp/webservice/index.php
r89c32b1 r0e5045f 92 92 if(!is_numeric($tmp[$key]) || is_nan($tmp[$key])){ 93 93 $allValid = false; 94 if($debug > 1){ 95 echo "Invalid value ". $key ." (". $tmp[$key] .") at time ". $time ."<br/>"; 96 } 94 97 } 95 98 elseif(array_key_exists($key, $configRound) && is_integer($configRound[$key])) … … 98 101 } 99 102 // only add the timeframe to the track, if the values are valid and we had a gps fix at that time 100 if($allValid && $tmp["gpsfix"] != "-"){ 101 echo "want to add ". $time ."<br/>\n"; 102 if(!array_key_exists($time, $result["track"])){ 103 if($allValid){ 104 if(!array_key_exists($time, $result["track"])){ 103 105 $result["track"][$time] = $tmp; 104 }106 } 105 107 $lastTime = $time; 106 108 }
Note:
See TracChangeset
for help on using the changeset viewer.
