From: Domas Mituzas Date: Sat, 12 Jan 2008 23:52:46 +0000 (+0000) Subject: should have some coffee - one more typo :) X-Git-Tag: 1.31.0-rc.0~50039 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=46bc6cb16a409aeefb23f2a34090de456cdd2024;p=lhc%2Fweb%2Fwiklou.git should have some coffee - one more typo :) --- diff --git a/includes/LoadBalancer.php b/includes/LoadBalancer.php index a097ca6d9f..657bb2c89b 100644 --- a/includes/LoadBalancer.php +++ b/includes/LoadBalancer.php @@ -558,7 +558,7 @@ class LoadBalancer { // Always 0, but who knows.. :) $i = $this->getWriterIndex(); if (array_key_exists($i,$this->mConnections)) { - if ($this->mConnections[$i]->lastQuery != '') { + if ($this->mConnections[$i]->lastQuery() != '') { $this->mConnections[$i]->immediateCommit(); } }