From: Sam Reed Date: Mon, 1 Nov 2010 00:10:00 +0000 (+0000) Subject: Fix minor semi colon fail from r75767 X-Git-Tag: 1.31.0-rc.0~34164 X-Git-Url: https://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=7a789626fd37b7f2941946e68cb4506c9469880c;p=lhc%2Fweb%2Fwiklou.git Fix minor semi colon fail from r75767 --- diff --git a/includes/Title.php b/includes/Title.php index 02bf964a4f..bddc6cc09f 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -2794,7 +2794,7 @@ class Title { $retVal = array(); if ( $db->numRows( $res ) ) { foreach ( $res as $row ) { - $titleObj = Title::makeTitle( $row->page_namespace, $row->page_title ) + $titleObj = Title::makeTitle( $row->page_namespace, $row->page_title ); if ( $titleObj ) { $linkCache->addGoodLinkObj( $row->page_id, $titleObj, $row->page_len, $row->page_is_redirect, $row->page_latest ); $retVal[] = $titleObj; diff --git a/includes/filerepo/File.php b/includes/filerepo/File.php index 28929b72c1..885fb907f4 100644 --- a/includes/filerepo/File.php +++ b/includes/filerepo/File.php @@ -906,7 +906,7 @@ abstract class File { $retVal = array(); if ( $db->numRows( $res ) ) { foreach ( $res as $row ) { - $titleObj = Title::newFromRow( $row ) + $titleObj = Title::newFromRow( $row ); if ( $titleObj ) { $linkCache->addGoodLinkObj( $row->page_id, $titleObj, $row->page_len, $row->page_is_redirect, $row->page_latest ); $retVal[] = $titleObj; diff --git a/includes/normal/UtfNormal.php b/includes/normal/UtfNormal.php index 8390d08e3b..84ebc76278 100644 --- a/includes/normal/UtfNormal.php +++ b/includes/normal/UtfNormal.php @@ -308,7 +308,7 @@ class UtfNormal { $len = $chunk + 1; # Counting down is faster. I'm *so* sorry. for( $i = -1; --$len; ) { - $remaining = $tailBytes[$c = $str{++$i}] + $remaining = $tailBytes[$c = $str{++$i}]; if( $remaining ) { # UTF-8 head byte! $sequence = $head = $c;