From 3f144d60faae1e90ec80fa0a33e9024e75006336 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 6 Oct 2008 14:39:40 +0000 Subject: - Patch #316139 by hswong3i: __toString() should be public to work with PHP5.3. --- includes/database/query.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/database') diff --git a/includes/database/query.inc b/includes/database/query.inc index ab0e623e7..f3270a041 100644 --- a/includes/database/query.inc +++ b/includes/database/query.inc @@ -203,7 +203,7 @@ abstract class Query { /** * Returns the query as a prepared statement string. */ - abstract protected function __toString(); + abstract public function __toString(); } /** -- cgit v1.2.3