Commit:    1022f79f40469c628837c8417081d8f4ac39f0bd
Author:    Gabriel Caruso <carusogabrie...@gmail.com>         Sat, 4 Aug 2018 
21:56:06 -0300
Committer: Peter Kokot <peterko...@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;
 }


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to