]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/NoScrape.php
Fix user-contact rows not being updated in Contact\User::updateByContactUpdate
[friendica.git] / src / Module / NoScrape.php
index c5a66c9bb6c972133cc9823c96c4eef80d2a386d..06bce3e2486d97bb4c43c40f0a1ea0267d236202 100644 (file)
@@ -39,10 +39,10 @@ class NoScrape extends BaseModule
        {
                $a = DI::app();
 
-               if (isset(static::$parameters['nick'])) {
+               if (isset($this->parameters['nick'])) {
                        // Get infos about a specific nick (public)
-                       $which = static::$parameters['nick'];
-               } elseif (local_user() && isset(static::$parameters['profile']) && DI::args()->get(2) == 'view') {
+                       $which = $this->parameters['nick'];
+               } elseif (local_user() && isset($this->parameters['profile']) && DI::args()->get(2) == 'view') {
                        // view infos about a known profile (needs a login)
                        $which = $a->getLoggedInUserNickname();
                } else {