Changeset 457 for trunk/team.php
- Timestamp:
- Apr 13, 2010, 10:35:16 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/team.php
r455 r457 96 96 { 97 97 $System->Database->query('INSERT INTO `Team` (`Name` ,`Description`, `URL`, `TimeCreate`,`Leader`) VALUES ("'.trim($_POST['Name']).'", "'.trim($_POST['Description']).'", "'.$_POST['URL'].'", NOW(), '.$User->Id.')'); 98 $System->Database->query('UPDATE `User` SET `Team` = '. mysql_insert_id().' WHERE `ID` = '.$User->Id);98 $System->Database->query('UPDATE `User` SET `Team` = '.$System->Database->insert_id.' WHERE `ID` = '.$User->Id); 99 99 echo('<strong>Překladatelský tým vytvořen</strong><br /><br />'); 100 100 WriteLog('Překladatelský tým vytvořen '.$_POST['Name'], LOG_TYPE_USER);
Note:
See TracChangeset
for help on using the changeset viewer.