Merge pull request #2073 from phl0/fixReassignFunction

This commit is contained in:
Andreas Kristiansen 2023-04-24 22:42:49 +02:00 committed by GitHub
commit e0a04cbe41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3637,7 +3637,7 @@ class Logbook_model extends CI_Model {
}
public function check_for_station_id() {
$this->db->where('station_id =', 'NULL');
$this->db->where('station_id =', NULL);
$query = $this->db->get($this->config->item('table_name'));
if($query->num_rows() >= 1) {
return 1;