summaryrefslogtreecommitdiff
path: root/lib/util.php
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2009-09-21 22:48:19 -0400
committerCraig Andrews <candrews@integralblue.com>2009-09-21 22:48:19 -0400
commitebb52efeb48212626d41a79b9d7e4f505323d074 (patch)
tree0988eedcb1759e29a28d782df85fad2ab93d43ed /lib/util.php
parent5cccbe987f9003ec4c40dbdcce254fe04069b107 (diff)
Make link href the long url so users can tell where links are going
Diffstat (limited to 'lib/util.php')
-rw-r--r--lib/util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php
index 37744fc5b..018b7cad5 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -536,7 +536,7 @@ function common_linkify($url) {
throw new ServerException("Can't linkify url '$url'");
}
- $attrs = array('href' => $canon, 'rel' => 'external');
+ $attrs = array('href' => $longurl, 'rel' => 'external');
$is_attachment = false;
$attachment_id = null;