Changeset 621
- Timestamp:
- Dec 4, 2013, 1:25:44 AM (11 years ago)
- Location:
- trunk/includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/Version.php
r620 r621 6 6 // and system will need database update. 7 7 8 $Revision = 62 0; // Subversion revision8 $Revision = 621; // Subversion revision 9 9 $DatabaseRevision = 610; // Database structure revision 10 10 $ReleaseTime = '2013-12-04'; -
trunk/includes/global.php
r618 r621 563 563 $where .= ')'; 564 564 } 565 if ($sqlall <> '') { $sqlall .= ' UNION ALL ( '.$sql.$where.$groupby.' )';}566 else {$sqlall .= ' ( '.$sql.$where.$groupby.' )'; }567 }568 565 if ($SqlOK) { 569 $DbResult = $System->Database->query($sql all.' ORDER BY LENGTH(Orig) DESC');566 $DbResult = $System->Database->query($sql.$where.$groupby.' ORDER BY LENGTH(Orig) DESC'); 570 567 // echo ($sql.'|'.$where.'|'.$groupby); 571 568 while($Line = $DbResult->fetch_assoc()) … … 574 571 } 575 572 } 573 574 // if ($sqlall <> '') { $sqlall .= ' UNION ALL ( '.$sql.$where.$groupby.' )';} 575 // else {$sqlall .= ' ( '.$sql.$where.$groupby.' )'; } 576 } 576 577 return $buff; 577 578 }
Note:
See TracChangeset
for help on using the changeset viewer.