mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-12-22 14:50:21 +00:00
[avancedcontentfilter] Fix typo in exception name
This commit is contained in:
parent
43503abc15
commit
b308f3bc05
1 changed files with 1 additions and 1 deletions
|
@ -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()]);
|
||||
|
|
Loading…
Reference in a new issue