Skip to content

Commit e35e37c

Browse files
authored
Change $db to $this->db to fix server error (#36733)
1 parent 8791331 commit e35e37c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/system/redirect/redirect.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ public function handleError(ErrorEvent $event)
240240

241241
try
242242
{
243-
$db->updateObject('#__redirect_links', $redirect, 'id');
243+
$this->db->updateObject('#__redirect_links', $redirect, 'id');
244244
}
245245
catch (Exception $e)
246246
{

0 commit comments

Comments
 (0)