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 @@
743
743
* Sets the server info structure for the given index. Entry at index $i is created if it doesn't exist
744
744
*/
745
745
function setServerInfo( $i, $serverInfo ) {
746
- $this->mServers[i] = $serverInfo;
746
+ $this->mServers[$i] = $serverInfo;
747
747
}
748
748
749
749
/**
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r86363
Apply LoadBalancer related fixes...
reedy
23:12, 18 April 2011
Status & tagging log
10:58, 2 May 2011
Catrope
(
talk
|
contribs
)
changed the
status
of r87238
[
removed:
new
added:
ok]