X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FAttach.php;h=17b2d6e9083ffff62b56bb3577db736a10c61bbd;hb=06ea61f0edc0164d40f65594386a3148802ed96a;hp=a4bb9b42215cbbcd044d2e843ff0c21576ac5c63;hpb=ad6d11b371f90d925d13b6db523d6233346c8404;p=friendica.git diff --git a/src/Module/Attach.php b/src/Module/Attach.php index a4bb9b4221..17b2d6e908 100644 --- a/src/Module/Attach.php +++ b/src/Module/Attach.php @@ -1,6 +1,6 @@ parameters['item'])) { throw new \Friendica\Network\HTTPException\BadRequestException(); } - $item_id = intval($parameters['item']); + $item_id = intval($this->parameters['item']); // Check for existence $item = MAttach::exists(['id' => $item_id]); @@ -72,7 +72,7 @@ class Attach extends BaseModule } echo $data; - exit(); + System::exit(); // NOTREACHED } }