mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Just give empty result on frequency being 0
This commit is contained in:
@@ -258,6 +258,10 @@ class Frequency {
|
||||
*/
|
||||
function qrg_conversion($frequency, $r_option = 1, $source_unit = 'Hz', $target_unit = NULL) {
|
||||
|
||||
if ($frequency == 0) {
|
||||
return null;
|
||||
}
|
||||
|
||||
$CI = &get_instance();
|
||||
|
||||
// Get the band
|
||||
|
||||
Reference in New Issue
Block a user