From edc6cf39a0acf9ac77626bb4c11a60a11878d65d Mon Sep 17 00:00:00 2001 From: Craig Andrews Date: Mon, 26 Apr 2010 15:58:35 -0400 Subject: Only shorten when notice length exceeds max length --- plugins/ClientSideShorten/shorten.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/ClientSideShorten/shorten.php') diff --git a/plugins/ClientSideShorten/shorten.php b/plugins/ClientSideShorten/shorten.php index 4905c62c2..07c19e2e7 100644 --- a/plugins/ClientSideShorten/shorten.php +++ b/plugins/ClientSideShorten/shorten.php @@ -61,7 +61,7 @@ class ShortenAction extends Action { parent::handle($args); header('Content-Type: text/plain'); - $shortened_text = common_shorten_links($this->text, true); + $shortened_text = common_shorten_links($this->text); print $shortened_text; } } -- cgit v1.2.3-54-g00ecf