MDL-70920 core: prevent calls to call_user_fun_array() with assoc array
This commit is contained in:
@@ -1237,7 +1237,7 @@ abstract class sql_generator {
|
||||
}
|
||||
|
||||
// Now call the standard $DB->sql_concat() DML function
|
||||
return call_user_func_array(array($this->mdb, 'sql_concat'), $elements);
|
||||
return call_user_func_array(array($this->mdb, 'sql_concat'), array_values($elements));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user