]> 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:11:28 +0000 (22:11 +0200)
lib/activityutils.php

index 4f31648ead7bd275e48f04635be8f121e80b3889..58e04e2f76f5846990f4576b89dfb1563864aea3 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;
         }