From 3785c6de058d8fc735e6cd1d174e2df9075cb82e Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Tue, 7 May 2019 11:56:25 -0400 Subject: [PATCH] [hotfix] Fix wrong Exception namespace --- mod/cal.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/cal.php b/mod/cal.php index e93341583a..4b41c24e35 100644 --- a/mod/cal.php +++ b/mod/cal.php @@ -43,7 +43,7 @@ function cal_init(App $a) $nick = $a->argv[1]; $user = DBA::selectFirst('user', [], ['nickname' => $nick, 'blocked' => false]); if (!DBA::isResult($user)) { - throw new \Slim\Exception\NotFoundException(); + throw new \Friendica\Network\HTTPException\NotFoundException(); } $a->data['user'] = $user; -- 2.39.5