Changeset 321 for trunk/save.php
- Timestamp:
- Feb 14, 2010, 1:00:53 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/save.php
r309 r321 106 106 if(array_key_exists($GroupItem['Column'], $_POST)) 107 107 $sql .= ', `'.$GroupItem['Column'].'`="'.$_POST[$GroupItem['Column']].'"'; 108 $sql .= ', `Language` = '.$Language.' WHERE ID = '.$TextID.' AND Language<> 0';108 $sql .= ', `Language` = '.$Language.' WHERE `ID` = '.$TextID.' AND `Language` <> 0'; 109 109 //echo($sql); 110 110 $Database->SQLCommand($sql); … … 119 119 $next = FollowingTran($TextID,$Table,$GroupId); 120 120 echo('<br /><br />'); 121 $redirecting = mysql_fetch_assoc($Database->SQLCommand('SELECT redirecting FROM user WHERE ID='.$UserID));121 $redirecting = mysql_fetch_assoc($Database->SQLCommand('SELECT `redirecting` FROM `user` WHERE `ID`='.$UserID)); 122 122 123 123 switch($redirecting['redirecting']) … … 145 145 146 146 // Aktualizace informace o nutnosti načíst XP 147 $Database->SQLCommand('UPDATE `user` SET `NeedUpdate` = 1 WHERE ID= '.$UserID);147 $Database->SQLCommand('UPDATE `user` SET `NeedUpdate` = 1 WHERE `ID` = '.$UserID); 148 148 } else 149 149 {
Note:
See TracChangeset
for help on using the changeset viewer.