mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-24 15:48:55 +01:00
an other stall of PostgreSQL update caused by string literals with double quotes
This commit is contained in:
parent
134e50c3ca
commit
e50c4b4936
@ -158,10 +158,10 @@ function phpgwapi_upgrade1_9_004()
|
||||
{
|
||||
// Get all installed translations for names
|
||||
$country = new country();
|
||||
$country_query = 'SELECT DISTINCT message_id, content
|
||||
FROM ' . translation::LANG_TABLE . '
|
||||
WHERE message_id IN ("' . implode('","', array_values($country->countries())) . '")
|
||||
ORDER BY message_id';
|
||||
$country_query = 'SELECT DISTINCT message_id, content'.
|
||||
' FROM ' . translation::LANG_TABLE .
|
||||
" WHERE message_id IN ('" . implode("','", array_values($country->countries())) . "')".
|
||||
' ORDER BY message_id';
|
||||
$result = $GLOBALS['egw_setup']->oProc->query($country_query, __LINE__, __FILE__);
|
||||
|
||||
$country_list = array();
|
||||
|
Loading…
Reference in New Issue
Block a user