allowed_schemes was misspelled

This commit is contained in:
Mikael Nordfeldth 2017-04-26 22:11:28 +02:00
parent df7ff4ef1a
commit adfd76f44b

View 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;
}