From af6540b07ff298296cf50a79e2727aa3b34a6d9e Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 22 Jan 2010 22:52:38 +0000 Subject: - Patch #692302 by Crell: searching for the wrong extender subclass. --- includes/database/select.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/database') diff --git a/includes/database/select.inc b/includes/database/select.inc index 1dc4dc723..210e4b7e5 100644 --- a/includes/database/select.inc +++ b/includes/database/select.inc @@ -970,7 +970,7 @@ class SelectQuery extends Query implements SelectQueryInterface { /* Implementations of QueryExtendableInterface. */ public function extend($extender_name) { - $override_class = __CLASS__ . $this->connection->driver(); + $override_class = $extender_name . '_' . $this->connection->driver(); if (class_exists($override_class)) { $extender_name = $override_class; } -- cgit v1.2.3