Changeset 773


Ignore:
Timestamp:
Jan 31, 2014, 12:17:43 PM (11 years ago)
Author:
maron
Message:
  • Fixed: RSS Forum link
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Forum/Forum.php

    r767 r773  
    282282          $TitleLength = 50;
    283283          mb_internal_encoding('utf-8');
    284           $DbResult = $this->Database->query('SELECT `ID`, UNIX_TIMESTAMP(`Date`) AS `UnixDate`, '.
     284          $DbResult = $this->Database->query('SELECT `Thread`, `ID`, UNIX_TIMESTAMP(`Date`) AS `UnixDate`, '.
    285285      '`User`, `UserName`, `Text`, ( SELECT `Text` FROM `ForumThread` '.
    286       'WHERE `ID` = `ForumText`.`Thread`) AS `Thread` FROM `ForumText` ORDER BY `ID` DESC LIMIT 20');
     286      'WHERE `ID` = `ForumText`.`Thread`) AS `ThreadText` FROM `ForumText` ORDER BY `ID` DESC LIMIT 20');
    287287          while($DbRow = $DbResult->fetch_assoc())
    288288          {
     
    291291            $Items[] = array
    292292            (
    293               'Title' =>  $DbRow['Thread'].' - '.$DbRow['UserName'].': ',
    294               'Link' =>  'http://'.$this->System->Config['Web']['Host'].$this->System->Link('/forum/?Thread='.$DbRow['ID']),
     293              'Title' =>  $DbRow['ThreadText'].' - '.$DbRow['UserName'].': ',
     294              'Link' =>  'http://'.$this->System->Config['Web']['Host'].$this->System->Link('/forum/?Thread='.$DbRow['Thread']),
    295295              'Description' => $parser->qparse($DbRow['Text']),
    296296              'Time' => $DbRow['UnixDate'],
  • trunk/includes/Version.php

    r772 r773  
    66// and system will need database update.
    77
    8 $Revision = 772; // Subversion revision
     8$Revision = 773; // Subversion revision
    99$DatabaseRevision = 748; // Database structure revision
    10 $ReleaseTime = '2014-01-30';
     10$ReleaseTime = '2014-01-31';
Note: See TracChangeset for help on using the changeset viewer.