]> git.mxchange.org Git - friendica.git/commitdiff
Fix wrong variable name in Module\NoScrape
authorHypolite Petovan <hypolite@mrpetovan.com>
Tue, 28 Jan 2020 15:33:19 +0000 (10:33 -0500)
committerGitHub <noreply@github.com>
Tue, 28 Jan 2020 15:33:19 +0000 (10:33 -0500)
- Address https://github.com/friendica/friendica/issues/8000#issuecomment-579292541

src/Module/NoScrape.php

index e213ca85635cd6aad06d702a091e20ceed0fda58..53b3fc4e3ee63b812cb61af32584b3a1ea79a756 100644 (file)
@@ -33,7 +33,7 @@ class NoScrape extends BaseModule
                        exit();
                }
 
-               Profile::load($a, $nickname);
+               Profile::load($a, $which);
 
                $json_info = [
                        'addr'         => $a->profile['addr'],