mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Fix batch edit for CQ/ITU - set to null
This commit is contained in:
@@ -1332,6 +1332,10 @@ class Logbookadvanced_model extends CI_Model {
|
||||
$skipqrzupdate = true;
|
||||
} else {
|
||||
|
||||
if ($value == "null") {
|
||||
$value = null;
|
||||
}
|
||||
|
||||
$sql = "UPDATE ".$this->config->item('table_name')." JOIN station_profile ON ".$this->config->item('table_name').".station_id = station_profile.station_id SET " . $this->config->item('table_name').".".$column . " = ? WHERE " . $this->config->item('table_name').".col_primary_key in ? and station_profile.user_id = ?";
|
||||
|
||||
$query = $this->db->query($sql, array($value, json_decode($ids, true), $this->session->userdata('user_id')));
|
||||
|
||||
Reference in New Issue
Block a user