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;