Changeset 283


Ignore:
Timestamp:
Sep 4, 2009, 1:37:21 PM (15 years ago)
Author:
george
Message:
  • Opraveno: Převádět HTML symboly na text v shoutboxu.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/global.php

    r282 r283  
    4242  $ID = $Database->SQLCommand('SELECT * FROM shoutbox ORDER BY ID DESC LIMIT 20');
    4343  while($Line = mysql_fetch_assoc($ID))
    44     echo('<tr><td><strong>'.$Line['user'].'</strong>: '.$Line['text'].'</td></tr>');
     44    echo('<tr><td><strong>'.$Line['user'].'</strong>: '.htmlspecialchars($Line['text']).'</td></tr>');
    4545  echo('</table></div>');
    4646}
Note: See TracChangeset for help on using the changeset viewer.