From 1ff1e541f66dfa77d5a8d0c51e911a9394ea867b Mon Sep 17 00:00:00 2001 From: Peter Goodhall Date: Tue, 11 Oct 2022 15:06:17 +0100 Subject: [PATCH] still rushing bugs --- application/controllers/Welcome.php | 2 +- application/views/welcome/index.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/application/controllers/Welcome.php b/application/controllers/Welcome.php index bea2f551..303fda78 100644 --- a/application/controllers/Welcome.php +++ b/application/controllers/Welcome.php @@ -32,7 +32,7 @@ class Welcome extends CI_Controller { $data['NumberOfNotes'] = $this->note->CountAllNotes(); - if($data['CountAllStationLocations'] == 0 || $data['NumberOfStationLogbooks'] == 0 || $data['NumberOfAPIKeys'] == 0 || $data['NumberOfNotes'] > 0) { + if($data['CountAllStationLocations'] == 0 || $data['NumberOfStationLogbooks'] == 0 || $data['NumberOfAPIKeys'] > 0 || $data['NumberOfNotes'] > 0) { // load views $this->load->view('interface_assets/mini_header', $data); $this->load->view('welcome/index'); diff --git a/application/views/welcome/index.php b/application/views/welcome/index.php index b9740f69..7bfc4b35 100644 --- a/application/views/welcome/index.php +++ b/application/views/welcome/index.php @@ -128,7 +128,7 @@
- + 0) { ?>
Claim API Keys