diff --git a/htdocs/public/stripe/ipn.php b/htdocs/public/stripe/ipn.php index d7322271649..b1ac43b8af6 100644 --- a/htdocs/public/stripe/ipn.php +++ b/htdocs/public/stripe/ipn.php @@ -345,7 +345,7 @@ if ($event->type == 'payout.created') { $paymentTypeId = $obj->type; } } else { - $error = $this->db->lasterror(); + $error = $db->lasterror(); $postactionmessages[] = $error; http_response_code(500); return -1;