From 15f780a5355c73c511bfa5366c10c39bf199c5da Mon Sep 17 00:00:00 2001 From: millette Date: Mon, 24 Nov 2008 20:03:32 -0500 Subject: [PATCH] only shorten > darcs-hash:20081125010332-099f7-f851f7c6217a1a2c65cd0f8ca28a9b6eb8c19764.gz --- lib/Shorturl_api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.39.5