r205 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r204‎ | r205 | r206 >
Date:04:47, 26 February 2002
Author:vibber
Status:old
Tags:
Comment:
array_key_exists() doesn't exist in the running version of PHP
Modified paths:
  • /trunk/phpwiki/fpw/special_recentchanges.php (modified) (history)

Diff [purge]

Index: trunk/phpwiki/fpw/special_recentchanges.php
@@ -149,7 +149,7 @@
150150 $row1->changes = 1;
151151 $index = array_push ( $arr, $row1 );
152152 }
153 - if ( array_key_exists( $row2->cur_title, $titleIndex ) ) {
 153+ if ( isset ( $row2->cur_title[$titleIndex] ) ) {
154154 $arr[ $titleIndex[ $row2->cur_title ] ]->changes += $row2->changes;
155155 } else {
156156 $titleIndex[$row2->cur_title] = $index;

Follow-up revisions

RevisionCommit summaryAuthorDate
r67130=Adding FBConnect extension, SourceForge r205, http://fbconnect4mw.svn.source...tisane07:23, 31 May 2010

Status & tagging log