Fix #2186 type error when unexpected values are passed to columnList

This commit is contained in:
Kijin Sung 2023-09-26 20:08:08 +09:00
parent a4b49048f3
commit 9ca2c94fe4
3 changed files with 4 additions and 2 deletions

View file

@ -269,7 +269,7 @@ class DB
}
// Force the column list to a numerical array.
$column_list = is_array($column_list) ? array_values($column_list) : array();
$column_list = array_values($column_list);
// Start measuring elapsed time.
$start_time = microtime(true);