Index: branches/5.2.x/core/units/helpers/language_import_helper.php =================================================================== diff -u -N -r14699 -r14888 --- branches/5.2.x/core/units/helpers/language_import_helper.php (.../language_import_helper.php) (revision 14699) +++ branches/5.2.x/core/units/helpers/language_import_helper.php (.../language_import_helper.php) (revision 14888) @@ -1,6 +1,6 @@ Conn, 'qstr'), $phrase_modules); + $phrase_modules = $this->Conn->qstrArray($phrase_modules); // apply phrase selection limit if ($this->_exportLimits['phrases']) { - $escaped_phrases = array_map(Array (&$this->Conn, 'qstr'), $this->_exportLimits['phrases']); + $escaped_phrases = $this->Conn->qstrArray($this->_exportLimits['phrases']); $limit_where = 'Phrase IN (' . implode(',', $escaped_phrases) . ')'; } else { @@ -258,7 +258,7 @@ // apply event selection limit if ($this->_exportLimits['emailevents']) { - $escaped_email_events = array_map(Array (&$this->Conn, 'qstr'), $this->_exportLimits['emailevents']); + $escaped_email_events = $this->Conn->qstrArray($this->_exportLimits['emailevents']); $limit_where = '`Event` IN (' . implode(',', $escaped_email_events) . ')'; } else { @@ -487,7 +487,7 @@ $to_insert = array_diff($temp_records, $live_records); if ($to_insert) { - $to_insert = array_map(Array (&$this->Conn, 'qstr'), $to_insert); + $to_insert = $this->Conn->qstrArray($to_insert); $sql = 'INSERT INTO ' . $this->Application->getUnitOption($prefix, 'TableName') . ' SELECT * @@ -503,7 +503,7 @@ $to_update = array_diff($temp_records, $to_insert); if ($to_update) { - $to_update = array_map(Array (&$this->Conn, 'qstr'), $to_update); + $to_update = $this->Conn->qstrArray($to_update); $sql = 'UPDATE ' . $this->Application->getUnitOption($prefix, 'TableName') . ' live SET ';