From aa2f0a652ff19490def8137bc73255dff282f305 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 17 Jan 2014 19:33:29 +0100 Subject: [ticket/11201] Change type from integer to service name PHPBB3-11201 --- phpBB/phpbb/profilefields/lang_helper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/phpbb/profilefields/lang_helper.php') diff --git a/phpBB/phpbb/profilefields/lang_helper.php b/phpBB/phpbb/profilefields/lang_helper.php index 569eaaca40..432c0aa40b 100644 --- a/phpBB/phpbb/profilefields/lang_helper.php +++ b/phpBB/phpbb/profilefields/lang_helper.php @@ -65,7 +65,7 @@ class lang_helper FROM ' . PROFILE_FIELDS_LANG_TABLE . " WHERE field_id = $field_id AND lang_id = $lang_id - AND field_type = $field_type + AND field_type = '" . $this->db->sql_escape($field_type) . "' ORDER BY option_id"; $result = $this->db->sql_query($sql); -- cgit v1.2.1