]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Followers.php
Add existence check for contact.uid and contact.rel fields in Contact::getContactTemp...
[friendica.git] / src / Module / Followers.php
index 9906dfc33e3b2882ee0da885a523da6ad97fd354..79f34021b13243ebc883b01106cbf31b92d46a1c 100644 (file)
@@ -20,13 +20,13 @@ class Followers extends BaseModule
 
                // @TODO: Replace with parameter from router
                if (empty($a->argv[1])) {
-                       System::httpExit(404);
+                       throw new \Friendica\Network\HTTPException\NotFoundException();
                }
 
                // @TODO: Replace with parameter from router
                $owner = User::getOwnerDataByNick($a->argv[1]);
                if (empty($owner)) {
-                       System::httpExit(404);
+                       throw new \Friendica\Network\HTTPException\NotFoundException();
                }
 
                $page = defaults($_REQUEST, 'page', null);