mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-05-19 05:48:02 -04:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user