mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-05 16:27:38 +02:00
oopsie
git-svn-id: file:///svn/phpbb/trunk@4839 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -864,9 +864,10 @@ function save_profile_field($field_type, $field_ident)
|
||||
$profile_sql = $profile_lang = $empty_lang = $profile_lang_fields = array();
|
||||
|
||||
$sql = 'SELECT lang_id
|
||||
FROM ' . LANG_TABLE . '
|
||||
FROM ' . LANG_TABLE . "
|
||||
WHERE lang_iso = '" . $config['default_lang'] . "'";
|
||||
$result = $db->sql_query($sql);
|
||||
|
||||
$default_lang_id = (int) $db->sql_fetchfield('lang_id', 0, $result);
|
||||
$db->sql_freeresult($result);
|
||||
|
||||
|
Reference in New Issue
Block a user