diff options
| author | Cesar G <prototech91@gmail.com> | 2014-06-14 17:41:38 -0700 |
|---|---|---|
| committer | Cesar G <prototech91@gmail.com> | 2014-06-14 17:41:38 -0700 |
| commit | 44269b36603d4b1bcba7355cad533f63e8f6e1dd (patch) | |
| tree | 2284e7ebe034172b4128ec3731de41a386e7780f /phpBB/phpbb | |
| parent | 24bbd06d49a5d80fccfe37e98fd7786d4bda2807 (diff) | |
| parent | c7ae61f2f39f47f4ed2f01c2d1f08f93cb08f495 (diff) | |
| download | forums-44269b36603d4b1bcba7355cad533f63e8f6e1dd.tar forums-44269b36603d4b1bcba7355cad533f63e8f6e1dd.tar.gz forums-44269b36603d4b1bcba7355cad533f63e8f6e1dd.tar.bz2 forums-44269b36603d4b1bcba7355cad533f63e8f6e1dd.tar.xz forums-44269b36603d4b1bcba7355cad533f63e8f6e1dd.zip | |
Merge remote-tracking branch 'bantu/ticket/12711' into develop-ascraeus
* bantu/ticket/12711:
[ticket/12711] Cast values to string such that they are quoted in SQL queries.
Diffstat (limited to 'phpBB/phpbb')
| -rw-r--r-- | phpBB/phpbb/config/db_text.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/config/db_text.php b/phpBB/phpbb/config/db_text.php index fb8588334e..b1e3ef5da4 100644 --- a/phpBB/phpbb/config/db_text.php +++ b/phpBB/phpbb/config/db_text.php @@ -105,8 +105,8 @@ class db_text if (!$this->db->sql_affectedrows($result)) { $sql = 'INSERT INTO ' . $this->table . ' ' . $this->db->sql_build_array('INSERT', array( - 'config_name' => $key, - 'config_value' => $value, + 'config_name' => (string) $key, + 'config_value' => (string) $value, )); $this->db->sql_query($sql); } |
