Fixes #541 TX PWR period issue on import

这个提交包含在:
Peter Goodhall 2020-08-10 22:44:49 +01:00
父节点 fc1430f86a
当前提交 65f7ae92cf

查看文件

@ -1556,7 +1556,7 @@ class Logbook_model extends CI_Model {
// Sanitise TX_POWER
if (isset($record['tx_pwr'])){
$tx_pwr = filter_var($record['tx_pwr'],FILTER_SANITIZE_NUMBER_INT);
$tx_pwr = filter_var($record['tx_pwr'],FILTER_VALIDATE_FLOAT);
}else{
$tx_pwr = NULL;
}