From: millette Date: Tue, 25 Nov 2008 01:03:32 +0000 (-0500) Subject: only shorten > X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=15f780a5355c73c511bfa5366c10c39bf199c5da;p=quix0rs-gnu-social.git only shorten > darcs-hash:20081125010332-099f7-f851f7c6217a1a2c65cd0f8ca28a9b6eb8c19764.gz --- diff --git a/lib/Shorturl_api.php b/lib/Shorturl_api.php index d08ab6a734..5af407fc5a 100644 --- a/lib/Shorturl_api.php +++ b/lib/Shorturl_api.php @@ -36,7 +36,7 @@ class ShortUrlApi { } private function is_long($url) { - return strlen($url) > 20; + return strlen($url) >= 30; } protected function http_post($data) {