mirror of
https://github.com/magicbug/Cloudlog
synced 2024-11-22 08:13:41 +00:00
Fixed Bug at "Show/Hide Version Info for all"
This commit is contained in:
parent
81f330738e
commit
402f5428b2
@ -25,9 +25,9 @@ class User_options_model extends CI_Model {
|
||||
ON DUPLICATE KEY UPDATE option_value = ?';
|
||||
foreach ($option_array as $option_key => $option_value) {
|
||||
$this->db->query($sql, array($user_id, $option_type, $option_name, $option_key, $option_value, $option_value));
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
} else {
|
||||
log_message('error','set_option_at_all_users() failed because users table is empty');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user