Changeset 554 for trunk/Modules/Translation/Save.php
- Timestamp:
- Jul 29, 2013, 9:25:33 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Translation/Save.php
r550 r554 45 45 if(($GroupItem['Visible'] == 1) and ($EnglishText[$GroupItem['Column']] != '')) 46 46 $Filter .= ' OR (`'.$GroupItem['Column'].'` = "'.addslashes($EnglishText[$GroupItem['Column']]).'")'; 47 $Filter = ' AND ('.substr($Filter, 3).')';47 if(substr($Filter, 0, 3) == ' OR') $Filter = ' AND ('.substr($Filter, 3).')'; 48 48 49 49 $DbResult = $System->Database->query('SELECT * FROM `'.$Table.'` WHERE (`Language` = '.$Config['OriginalLanguage'].')'.$Filter);
Note:
See TracChangeset
for help on using the changeset viewer.