diff options
author | Johannes Winkelmann <jw@smts.ch> | 2006-08-10 16:43:36 +0000 |
---|---|---|
committer | Johannes Winkelmann <jw@smts.ch> | 2006-08-10 16:43:36 +0000 |
commit | ea61813e8c1caada435c241d4f509632d94666fe (patch) | |
tree | e0c696e58c195354458ebb9c401286e8273494b2 | |
parent | 976a8c696245d5107143ab9637c5a7517d821713 (diff) | |
download | webtools-ea61813e8c1caada435c241d4f509632d94666fe.tar.gz webtools-ea61813e8c1caada435c241d4f509632d94666fe.tar.xz |
timeline: trim diff url
-rwxr-xr-x | timeline/tlcacher.php | 2 |
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); |