From: Aaron Schulz Date: Thu, 17 Sep 2009 20:20:45 +0000 (+0000) Subject: bug 20701: fixed strange breakage from r53173 X-Git-Tag: 1.31.0-rc.0~39661 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=53fae368495b6b7849184e0f9bca8aa2d01ffefe;p=lhc%2Fweb%2Fwiklou.git bug 20701: fixed strange breakage from r53173 --- diff --git a/includes/LogPage.php b/includes/LogPage.php index 278e9ba5c4..68e8c8ec45 100644 --- a/includes/LogPage.php +++ b/includes/LogPage.php @@ -219,12 +219,17 @@ class LogPage { self::formatBlockFlags( $params[2], is_null( $skin ) ) : ''; // Page protections } else if ( $type == 'protect' && count($params) == 3 ) { + // Restrictions and expiries + if( $skin ) { + $details .= htmlspecialchars( " {$params[1]}" ); + } else { + $details .= " {$params[1]}"; + } + // Cascading flag... if( $params[2] ) { if ( $skin ) { - $details .= htmlspecialchars( " {$params[1]}" ); // restrictions and expiries $details .= ' ['.wfMsg('protect-summary-cascade').']'; } else { - $details .= " {$params[1]}"; $details .= ' ['.wfMsgForContent('protect-summary-cascade').']'; } }