Changeset 96 for trunk/save.php
- Timestamp:
- Feb 15, 2009, 11:28:32 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/save.php
r85 r96 44 44 $sql = 'UPDATE '.$Table.' SET `Complete` = '.$complete; 45 45 foreach($TranslationTree[$GroupId]['Items'] as $GroupItem) 46 $sql .= ', `'.$GroupItem['Column'].'`="'.@$_POST[$GroupItem['Column']].'"'; 46 if(array_key_exists($GroupItem['Column'], $_POST)) 47 $sql .= ', `'.$GroupItem['Column'].'`="'.$_POST[$GroupItem['Column']].'"'; 47 48 $sql .= ', `Language` = '.$Language.' WHERE ID = '.$TextID.' AND Language <> 0'; 48 49 //echo($sql);
Note:
See TracChangeset
for help on using the changeset viewer.