fixed ci/this (2nd one)

This commit is contained in:
int2001
2025-04-16 19:12:58 +00:00
parent 1fb55a834f
commit 531035a7c2

View File

@@ -91,7 +91,7 @@
$data['user_id'] = $user_id;
$data['operator'] = $operator;
$this->db->insert('cat', $data);
if (($this->ci->config->item('mqtt_server') ?? '') != '') {
if (($this->config->item('mqtt_server') ?? '') != '') {
$this->mh->wl_event('cat/'.$user_id, json_encode(array_merge($data,$eventdata)));
}
}