X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FAttach.php;h=17b2d6e9083ffff62b56bb3577db736a10c61bbd;hb=f114ad188353910f1714a2df04affb7e5ee58253;hp=4f9da85c92d7f754ec2b72b77583f670b2789556;hpb=714f0febc4918f5569eb09f8800b6739cff36347;p=friendica.git diff --git a/src/Module/Attach.php b/src/Module/Attach.php index 4f9da85c92..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(static::$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 } }