]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Ooops, copypasted something into the wrong place.
authorMikael Nordfeldth <mmn@hethane.se>
Sun, 8 Nov 2015 22:24:20 +0000 (23:24 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Sun, 8 Nov 2015 22:24:20 +0000 (23:24 +0100)
plugins/OStatus/actions/ostatussub.php

index fb0d2ba758b4cf12e73c438ff103b6355cec6a85..6078f70b715871012e4bf010993f422201417ac4 100644 (file)
@@ -246,7 +246,7 @@ class OStatusSubAction extends Action
         try {
             if ($validate->email($this->profile_uri)) {
                 $this->oprofile = Ostatus_profile::ensureWebfinger($this->profile_uri);
-            } else if ($validate->uri($url, $params)) {
+            } else if ($validate->uri($this->profile_uri)) {
                 $this->oprofile = Ostatus_profile::ensureProfileURL($this->profile_uri);
             } else {
                 // TRANS: Error message in OStatus plugin. Do not translate the domain names example.com