From 1a737166c5f290c15084a0c4c35af0d70dfaab0e Mon Sep 17 00:00:00 2001 From: Peter Goodhall Date: Fri, 27 Sep 2019 17:43:01 +0100 Subject: [PATCH] Wasn't returning radio json wasn't returning mode --- application/controllers/Radio.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/controllers/Radio.php b/application/controllers/Radio.php index 45f5127c..761732b1 100755 --- a/application/controllers/Radio.php +++ b/application/controllers/Radio.php @@ -111,7 +111,7 @@ if(strtoupper($row->mode) == "FMN"){ $mode = "FM"; } else { - $mode = strtoupper($mode); + $mode = strtoupper($row->mode); } $sat_name = ""; @@ -175,4 +175,4 @@ } } -?> \ No newline at end of file +?>