Created
November 3, 2015 17:11
-
-
Save rxu/a304b4fd08cc14d595fd to your computer and use it in GitHub Desktop.
db_text update fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$sql = 'UPDATE ' . $this->table . " | |
SET config_value = '" . $this->db->sql_escape($value) . "' | |
WHERE config_value <> '" . $this->db->sql_escape($value) . "' | |
AND config_name = '" . $this->db->sql_escape($key) . "'"; | |
$this->db->sql_query($sql); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment