Fix minor semi colon fail from r75767
authorSam Reed <reedy@users.mediawiki.org>
Mon, 1 Nov 2010 00:10:00 +0000 (00:10 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Mon, 1 Nov 2010 00:10:00 +0000 (00:10 +0000)
includes/Title.php
includes/filerepo/File.php
includes/normal/UtfNormal.php

index 02bf964..bddc6cc 100644 (file)
@@ -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;
index 28929b7..885fb90 100644 (file)
@@ -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;
index 8390d08..84ebc76 100644 (file)
@@ -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;