Index: branches/5.2.x/core/install/upgrades.php =================================================================== diff -u -N -r14856 -r14888 --- branches/5.2.x/core/install/upgrades.php (.../upgrades.php) (revision 14856) +++ branches/5.2.x/core/install/upgrades.php (.../upgrades.php) (revision 14888) @@ -1,6 +1,6 @@ Conn, 'qstr'), $fields); + $fields = $this->Conn->qstrArray($fields); $where_clause = 'VariableName IN (' . implode(',', $fields) . ')'; // 1. get user, that have saved their profile at least once @@ -1865,7 +1865,7 @@ $prefix_special . 'Sort1' . $view_name, $prefix_special . 'Sort1_Dir' . $view_name, $prefix_special . 'Sort2' . $view_name, $prefix_special . 'Sort2_Dir' . $view_name, ); - $old_variable_names = array_map(Array (&$this->Conn, 'qstr'), $old_variable_names); + $old_variable_names = $this->Conn->qstrArray($old_variable_names); $sql = 'SELECT VariableValue, VariableName FROM ' . TABLE_PREFIX . 'PersistantSessionData