com web/bugs: Simplify link for people.php.net user: www/bug.php
| From: | Peter Kokot | Date: | Wed, 17 Oct 2018 07:10:56 +0000 |
| Subject: | com web/bugs: Simplify link for people.php.net user: www/bug.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-27333@lists.php.net to get a copy of this message | ||
Commit: 1022f79f40469c628837c8417081d8f4ac39f0bd
Author: Gabriel Caruso <carusogabriel34@gmail.com> Sat, 4 Aug 2018 21:56:06 -0300
Committer: Peter Kokot <peterkokot@gmail.com> Wed, 17 Oct 2018 09:10:56 +0200
Parents: 88fca9dcbcc4551bc6a45b5e3a3cd3553494d15b
Branches: master
Link: http://git.php.net/?p=web/bugs.git;a=commitdiff;h=1022f79f40469c628837c8417081d8f4ac39f0bd
Log:
Simplify link for people.php.net user
Changed paths:
M www/bug.php
Diff:
diff --git a/www/bug.php b/www/bug.php
index c25ff39..6f07dec 100644
--- a/www/bug.php
+++ b/www/bug.php
@@ -1209,7 +1209,7 @@ function link_to_people($email, $text)
$domain = strstr($email, "@");
if ($domain == "@php.net") {
$username = strstr($email, "@", true);
- return '<a href="//people.php.net/user.php?username=' ..
urlencode($username) . '">' . $text . '</a>';
+ return '<a href="//people.php.net/' . urlencode($username) .
'">' . $text . '</a>';
}
return $text;
}