X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2FShorturl_api.php;h=22d5b4cb5442e762b05d7a0d9a85c0944f4ad8e3;hb=cbdf8e51aa2826e11cc17c34bcbf568ca37e26ce;hp=fe106cb8376a06b69ac5ba142329917b808a4427;hpb=02877224b20f87af304553f739b69544d7ac4cfa;p=quix0rs-gnu-social.git diff --git a/lib/Shorturl_api.php b/lib/Shorturl_api.php index fe106cb837..22d5b4cb54 100644 --- a/lib/Shorturl_api.php +++ b/lib/Shorturl_api.php @@ -1,7 +1,7 @@ = 30; + return strlen($url) >= common_config('site', 'shorturllength'); } protected function http_post($data) {