diff --git a/plugins/system/redirect/redirect.php b/plugins/system/redirect/redirect.php index 69af93bcf8e3e..f7c9e2ab52d87 100644 --- a/plugins/system/redirect/redirect.php +++ b/plugins/system/redirect/redirect.php @@ -240,7 +240,7 @@ public function handleError(ErrorEvent $event) try { - $db->updateObject('#__redirect_links', $redirect, 'id'); + $this->db->updateObject('#__redirect_links', $redirect, 'id'); } catch (Exception $e) {