mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
fixed little bug
This commit is contained in:
@@ -315,7 +315,6 @@ class Satellite extends CI_Controller {
|
||||
$msg['ok'] = 'Error';
|
||||
$msg['message'] = __("Failed to save pass settings!");
|
||||
} else {
|
||||
echo json_encode(array('ok' => 'OK', 'message' => __("Pass settings saved!")));
|
||||
$msg['ok'] = 'OK';
|
||||
$msg['message'] = __("Pass settings saved!");
|
||||
}
|
||||
|
||||
@@ -14,6 +14,7 @@ class User_options_model extends CI_Model {
|
||||
foreach($option_array as $option_key => $option_value) {
|
||||
$query = $this->db->query($sql, array($uid, $option_type, $option_name, $option_key, $option_value, $option_value));
|
||||
}
|
||||
return $query;
|
||||
}
|
||||
|
||||
public function set_option_at_all_users($option_type, $option_name, $option_array) {
|
||||
|
||||
Reference in New Issue
Block a user