diff --git a/core/lib/Drupal/Core/Database/Log.php b/core/lib/Drupal/Core/Database/Log.php index c1fb8b5..13066f1 100644 --- a/core/lib/Drupal/Core/Database/Log.php +++ b/core/lib/Drupal/Core/Database/Log.php @@ -186,7 +186,7 @@ public function findCaller() { */ protected function getConnectionNamespace() { $connection_class = get_class(Database::getConnection($this->connectionKey)); - return substr($class, 0, strrpos($connection_class, '\\')); + return substr($connection_class, 0, strrpos($connection_class, '\\')); } /**