Skip to content

Commit

Permalink
Change $db to $this->db to fix server error
Browse files Browse the repository at this point in the history
  • Loading branch information
richard67 committed Jan 18, 2022
1 parent 8791331 commit c01655e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/system/redirect/redirect.php
Expand Up @@ -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)
{
Expand Down

0 comments on commit c01655e

Please sign in to comment.