Commit af6540b0 authored by Dries's avatar Dries
Browse files

- Patch #692302 by Crell: searching for the wrong extender subclass.

parent ce40e98e
...@@ -970,7 +970,7 @@ public function havingCompile(DatabaseConnection $connection) { ...@@ -970,7 +970,7 @@ public function havingCompile(DatabaseConnection $connection) {
/* Implementations of QueryExtendableInterface. */ /* Implementations of QueryExtendableInterface. */
public function extend($extender_name) { public function extend($extender_name) {
$override_class = __CLASS__ . $this->connection->driver(); $override_class = $extender_name . '_' . $this->connection->driver();
if (class_exists($override_class)) { if (class_exists($override_class)) {
$extender_name = $override_class; $extender_name = $override_class;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment