X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2FShorturl_api.php;h=22d5b4cb5442e762b05d7a0d9a85c0944f4ad8e3;hb=cbdf8e51aa2826e11cc17c34bcbf568ca37e26ce;hp=29f4eb3a66ff3eefbe989d9f07c51e815ac2487a;hpb=280f8faab4f692ff7f4389f82397adfa6db56325;p=quix0rs-gnu-social.git diff --git a/lib/Shorturl_api.php b/lib/Shorturl_api.php index 29f4eb3a66..22d5b4cb54 100644 --- a/lib/Shorturl_api.php +++ b/lib/Shorturl_api.php @@ -40,7 +40,7 @@ class ShortUrlApi } private function is_long($url) { - return strlen($url) >= $this->long_limit; + return strlen($url) >= common_config('site', 'shorturllength'); } protected function http_post($data) {