Changeset 675 for trunk/admin/index.php
- Timestamp:
- Dec 29, 2013, 9:45:39 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/index.php
r674 r675 168 168 169 169 $sql = 'SELECT * FROM `'.$Group['TablePrefix'] .'` as `T` '. 170 ' WHERE `T`.`Entry` = '.$line['Entry'].' AND `T`.`Take` = '.$line2['ID'];170 ' WHERE `T`.`Entry` = '.$line['Entry'].' AND (`T`.`Take` = '.$line['ID'].' OR `T`.`Take` = '.$line2['ID'].') '; 171 171 $DbResult3 = $System->Database->query($sql); 172 if($DbResult3->num_rows > 0) { 173 $line3 = $DbResult3->fetch_assoc(); 172 while($line3 = $DbResult3->fetch_assoc()) { 174 173 echo $line3['ID'].' '; 175 174 $System->Database->query('UPDATE `'.$Group['TablePrefix'].'` SET `VersionEnd` = '.$line2['VersionEnd'].', `VersionStart` = '.$line['VersionStart'].', `Take` = '.$line['ID'].' WHERE ID='.$line3['ID']);
Note:
See TracChangeset
for help on using the changeset viewer.