fixed incorrect use of DML method

This commit is contained in:
Petr Skoda
2010-09-17 09:38:15 +00:00
parent db82872e06
commit b475d8bd34
+1 -1
View File
@@ -38,7 +38,7 @@ if ($format) {
'msn' => 'msn',
'country' => 'country');
if ($extrafields = $DB->get_records_select('user_info_field')) {
if ($extrafields = $DB->get_records('user_info_field')) {
foreach ($extrafields as $n=>$v){
$fields['profile_field_'.$v->shortname] = 'profile_field_'.$v->shortname;
}