Update User_model.php

pull/3199/head
Peter Goodhall 2024-10-03 14:48:44 +01:00
rodzic b36c8a4cd1
commit 2b110b6d63
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -217,7 +217,7 @@ class User_Model extends CI_Model {
$encrypted_password = $this->encryption->encrypt($callbook_password);
// Insert the encrypted password into the database
$this->db->query("INSERT INTO user_options (user_id, option_type, option_name, option_key, option_value) VALUES (" . $insert_id . ", 'callbook', 'callbook_password', 'password', '" . xss_clean($encrypted_password) . "');");
$this->db->query("INSERT INTO user_options (user_id, option_type, option_name, option_key, option_value) VALUES (" . $insert_id . ", 'callbook', 'callbook_password', 'value', '" . xss_clean($encrypted_password) . "');");
return OK;
} else {