]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
allowed_schemes was misspelled
authorMikael Nordfeldth <mmn@hethane.se>
Wed, 26 Apr 2017 20:11:28 +0000 (22:11 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Wed, 26 Apr 2017 20:12:06 +0000 (22:12 +0200)
lib/activityutils.php

index b86dd6590928501db8080a819f73037666f4b68c..0ddb15a7491b98f0a33cd32493f20d083342dff2 100644 (file)
@@ -294,7 +294,7 @@ class ActivityUtils
         // Possibly an upstream bug; tag: URIs aren't validated properly
         // unless you explicitly ask for them. All other schemes are accepted
         // for basic URI validation without asking.
-        if ($validate->uri($uri, array('allowed_scheme' => array('tag')))) {
+        if ($validate->uri($uri, array('allowed_schemes' => array('tag')))) {
             return true;
         }