summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/database/select.inc2
1 files changed, 1 insertions, 1 deletions
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;
}