From: Domas Mituzas Date: Sat, 12 Jan 2008 23:12:51 +0000 (+0000) Subject: damn, how did this typo slip in :) X-Git-Tag: 1.31.0-rc.0~50040 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=4ddad0e07e79a1c9d5d0239e5aac3c9ccd3dc9d4;p=lhc%2Fweb%2Fwiklou.git damn, how did this typo slip in :) --- diff --git a/includes/LoadBalancer.php b/includes/LoadBalancer.php index 6efcbdded7..a097ca6d9f 100644 --- a/includes/LoadBalancer.php +++ b/includes/LoadBalancer.php @@ -556,7 +556,7 @@ class LoadBalancer { /* Issue COMMIT only on master, only if queries were done on connection */ function commitMasterChanges() { // Always 0, but who knows.. :) - $i = $this->getWriterIndex; + $i = $this->getWriterIndex(); if (array_key_exists($i,$this->mConnections)) { if ($this->mConnections[$i]->lastQuery != '') { $this->mConnections[$i]->immediateCommit();