still rushing bugs

This commit is contained in:
Peter Goodhall
2022-10-11 15:06:17 +01:00
parent fa979a426a
commit 1ff1e541f6
2 changed files with 2 additions and 2 deletions

View File

@@ -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');

View File

@@ -128,7 +128,7 @@
<br>
<?php } ?>
<?php if(!$NumberOfAPIKeys) { ?>
<?php if($NumberOfNotes > 0) { ?>
<div class="card">
<div class="card-header">Claim API Keys</div>
<div class="card-body">