r87238 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r87237‎ | r87238 | r87239 >
Date:07:42, 2 May 2011
Author:bawolff
Status:ok
Tags:
Comment:
Follow up r86363 - Missing a dollar sign.

Fixes the: Notice: Use of undefined constant i - assumed 'i' in /var/www/w/phase3/includes/db/LoadBalancer.php on line 745
Modified paths:
  • /trunk/phase3/includes/db/LoadBalancer.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/db/LoadBalancer.php
@@ -742,7 +742,7 @@
743743 * Sets the server info structure for the given index. Entry at index $i is created if it doesn't exist
744744 */
745745 function setServerInfo( $i, $serverInfo ) {
746 - $this->mServers[i] = $serverInfo;
 746+ $this->mServers[$i] = $serverInfo;
747747 }
748748
749749 /**

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r86363Apply LoadBalancer related fixes...reedy23:12, 18 April 2011

Status & tagging log