]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
only shorten >
authormillette <millette@controlyourself.ca>
Tue, 25 Nov 2008 01:03:32 +0000 (20:03 -0500)
committermillette <millette@controlyourself.ca>
Tue, 25 Nov 2008 01:03:32 +0000 (20:03 -0500)
darcs-hash:20081125010332-099f7-f851f7c6217a1a2c65cd0f8ca28a9b6eb8c19764.gz

lib/Shorturl_api.php

index d08ab6a7348fff3711ddb78f7679acf78d7b170b..5af407fc5a7f934066389f996193fd3b7152e2d7 100644 (file)
@@ -36,7 +36,7 @@ class ShortUrlApi {
     }
 
     private function is_long($url) {
-        return strlen($url) > 20;
+        return strlen($url) >= 30;
     }
 
     protected function http_post($data) {