summaryrefslogtreecommitdiff
path: root/lib/Shorturl_api.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Shorturl_api.php')
-rw-r--r--lib/Shorturl_api.php2
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) {