CI4 bugfixes

- Added session variable instantiation where needed.
- Added tabular helper to autoload
- removed tabular helper reference where no longer needed.
- Remove esc() references where it was causing display problems.
- Remove excess whitespace on blank line
- Remove unecessary using reference
- Make parameters for dinner table functions nullable
This commit is contained in:
objecttothis
2023-03-01 01:41:43 +04:00
committed by jekkos
parent 145930ce5b
commit 8d80f5a261
14 changed files with 45 additions and 50 deletions

View File

@@ -46,7 +46,7 @@ class Dinner_table extends Model
/**
* Get empty tables
*/
public function get_empty_tables(int $current_dinner_table_id): array
public function get_empty_tables(?int $current_dinner_table_id): array
{
$builder = $this->db->table('dinner_tables');
$builder->where('status', 0);