Changeset 855 for trunk/includes/Locale.php
- Timestamp:
- Jan 19, 2016, 11:10:33 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/Locale.php
r843 r855 147 147 function UpdateToDatabase(Database $Database, $LangCode) 148 148 { 149 $DbResult = $Database->select('Language', '*', ' Code='.$Database->quote($LangCode));149 $DbResult = $Database->select('Language', '*', '`Code`='.$Database->quote($LangCode)); 150 150 if($DbResult->num_rows > 0) 151 151 { … … 153 153 foreach($this->Texts->Data as $Index => $Item) 154 154 { 155 $DbResult = $Database->select('Locale', '*', '(`Original` ='.$Database->quote($Index).') AND (`Language`='.($Language['Id']).')'); 155 $DbResult = $Database->select('Locale', '*', '(`Original` ='.$Database->quote($Index). 156 ') AND (`Language`='.($Language['Id']).')'); 156 157 if($DbResult->num_rows > 0) 157 158 $Database->update('Locale', '(`Language`='.($Language['Id']).') AND '.
Note:
See TracChangeset
for help on using the changeset viewer.