mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Merge pull request #2073 from phl0/fixReassignFunction
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user