From: Raimond Spekking Date: Tue, 13 May 2008 18:51:46 +0000 (+0000) Subject: Do not add an empty class='' X-Git-Tag: 1.31.0-rc.0~47662 X-Git-Url: http://git.cyclocoop.org/?a=commitdiff_plain;h=481f3df1010b334097224cec8dfa8f05ef5bcf54;p=lhc%2Fweb%2Fwiklou.git Do not add an empty class='' --- diff --git a/includes/SpecialNewpages.php b/includes/SpecialNewpages.php index 98572df94a..7c71f7e888 100644 --- a/includes/SpecialNewpages.php +++ b/includes/SpecialNewpages.php @@ -244,9 +244,9 @@ class NewPagesForm { $ulink = $this->skin->userLink( $result->rc_user, $result->rc_user_text ) . ' ' . $this->skin->userToolLinks( $result->rc_user, $result->rc_user_text ); $comment = $this->skin->commentBlock( $result->rc_comment ); - $css = $this->patrollable( $result ) ? 'not-patrolled' : ''; + $css = $this->patrollable( $result ) ? " class='not-patrolled'" : ''; - return "
  • {$time} {$dm}{$plink} ({$hist}) {$dm}[{$length}] {$dm}{$ulink} {$comment}
  • \n"; + return "{$time} {$dm}{$plink} ({$hist}) {$dm}[{$length}] {$dm}{$ulink} {$comment}\n"; } /**