summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Winkelmann <jw@smts.ch>2006-08-10 16:43:36 +0000
committerJohannes Winkelmann <jw@smts.ch>2006-08-10 16:43:36 +0000
commitea61813e8c1caada435c241d4f509632d94666fe (patch)
treee0c696e58c195354458ebb9c401286e8273494b2
parent976a8c696245d5107143ab9637c5a7517d821713 (diff)
downloadwebtools-ea61813e8c1caada435c241d4f509632d94666fe.tar.gz
webtools-ea61813e8c1caada435c241d4f509632d94666fe.tar.xz
timeline: trim diff url
-rwxr-xr-xtimeline/tlcacher.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/timeline/tlcacher.php b/timeline/tlcacher.php
index 2caeb99..20802c1 100755
--- a/timeline/tlcacher.php
+++ b/timeline/tlcacher.php
@@ -186,7 +186,7 @@ if ($chline != "") {
foreach ($wikiedits as $ed) {
preg_match('/\[\[.*\]\] ./', $ed, $matches);
$page = $matches[0];
- $page_diff = str_replace("]]", "?action=diff|diff]]", $page);
+ $page_diff = trim(str_replace("]]", "?action=diff|diff]]", $page));
preg_match('/by \[\[.*\]\]/', $ed, $matches);
$user = $matches[0];
preg_match("/\=(.*)\=/s",$ed,$matches);

Generated by cgit