Fixed typo

Fixed the typo in HTTPException\ServiceUnavaiableException
This commit is contained in:
Steffen K9 2019-11-24 20:17:48 +01:00 committed by GitHub
parent 43503abc15
commit 280c1519d6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -339,7 +339,7 @@ function advancedcontentfilter_post_rules(ServerRequestInterface $request)
$fields['created'] = DateTimeFormat::utcNow();
if (!DBA::insert('advancedcontentfilter_rules', $fields)) {
throw new HTTPException\ServiceUnavaiableException(DBA::errorMessage());
throw new HTTPException\ServiceUnavailableException(DBA::errorMessage());
}
$rule = DBA::selectFirst('advancedcontentfilter_rules', [], ['id' => DBA::lastInsertId()]);