From 280c1519d67f312e540402493e3000b05a64d4cb Mon Sep 17 00:00:00 2001 From: Steffen K9 Date: Sun, 24 Nov 2019 20:17:48 +0100 Subject: [PATCH] Fixed typo Fixed the typo in HTTPException\ServiceUnavaiableException --- advancedcontentfilter/advancedcontentfilter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/advancedcontentfilter/advancedcontentfilter.php b/advancedcontentfilter/advancedcontentfilter.php index dbbfb2e2..1b54df49 100644 --- a/advancedcontentfilter/advancedcontentfilter.php +++ b/advancedcontentfilter/advancedcontentfilter.php @@ -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()]);