GX-Bug #41654 » 968d78689ba44eea28883ad8df2dd61041508683.diff
src/system/classes/languages/LanguageTextManager.inc.php | ||
---|---|---|
1 | 1 |
<?php |
2 | 2 |
/* -------------------------------------------------------------- |
3 |
LanguageTextManager.inc.php 2014-07-25 gambio
|
|
3 |
LanguageTextManager.inc.php 2015-04-23 gambio
|
|
4 | 4 |
Gambio GmbH |
5 | 5 |
http://www.gambio.de |
6 | 6 |
Copyright (c) 2014 Gambio GmbH |
... | ... | |
186 | 186 |
SELECT |
187 | 187 |
lf.language_id, |
188 | 188 |
lfc.phrase_name, |
189 |
lfc.phrase_value |
|
189 |
lfc.phrase_value, |
|
190 |
CASE WHEN lf.language_id = ' . $this->v_languages[DEFAULT_LANGUAGE]['language_id'] . ' THEN 1 ELSE 2 END AS sort |
|
190 | 191 |
FROM |
191 | 192 |
language_sections AS lf, |
192 | 193 |
language_section_phrases AS lfc |
... | ... | |
216 | 217 |
$t_sql .= ') AND '; |
217 | 218 |
$t_sql .= 'lf.language_id = "' . addslashes($p_language_id) . '"'; |
218 | 219 |
} |
220 |
|
|
221 |
$t_sql .= ' ORDER BY sort'; |
|
219 | 222 |
|
220 | 223 |
$t_result = xtc_db_query($t_sql); |
221 | 224 |
while(($t_row = xtc_db_fetch_array($t_result))) |
222 |
- |