]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Attach.php
Fix user-contact rows not being updated in Contact\User::updateByContactUpdate
[friendica.git] / src / Module / Attach.php
index 84961ca2763faddb6dd477239e854487747eb0c9..c35e6b9ba393405be0ac94393a1fbbb1483ae3d5 100644 (file)
@@ -37,11 +37,11 @@ class Attach extends BaseModule
        public function rawContent()
        {
                $a = DI::app();
-               if (empty(static::$parameters['item'])) {
+               if (empty($this->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]);