diff options
author | millette <millette@controlyourself.ca> | 2008-11-24 20:03:32 -0500 |
---|---|---|
committer | millette <millette@controlyourself.ca> | 2008-11-24 20:03:32 -0500 |
commit | 15f780a5355c73c511bfa5366c10c39bf199c5da (patch) | |
tree | 42b4b696cda2ec9276d30bca6669b0965ce98042 | |
parent | a5d0b0ff813ff15ce15e6110f1f3c638b60b46d5 (diff) |
only shorten >
darcs-hash:20081125010332-099f7-f851f7c6217a1a2c65cd0f8ca28a9b6eb8c19764.gz
-rw-r--r-- | lib/Shorturl_api.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Shorturl_api.php b/lib/Shorturl_api.php index d08ab6a73..5af407fc5 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) { |