From f1016b039fb31c7d151b6cad7f8e71c3ba9adc4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emmanuel=20Beno=C3=AEt?= Date: Mon, 6 Feb 2012 18:25:03 +0100 Subject: [PATCH] Fixed database query execution When queries are repeated, a method was supposed to be called in order to check for prepared queries. This method did not exist. Which did not help. --- includes/core/database.inc.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/includes/core/database.inc.php b/includes/core/database.inc.php index 8787467..0a5dd8e 100644 --- a/includes/core/database.inc.php +++ b/includes/core/database.inc.php @@ -130,4 +130,10 @@ final class DBQuery return $result; } + + + public function prepared( ) + { + return ( $this->statement !== null ); + } }