From 46bc6cb16a409aeefb23f2a34090de456cdd2024 Mon Sep 17 00:00:00 2001 From: Domas Mituzas Date: Sat, 12 Jan 2008 23:52:46 +0000 Subject: [PATCH] should have some coffee - one more typo :) --- includes/LoadBalancer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } } -- 2.20.1