Commit:    6ba93a4bae355ac1d247d1e474381bb92d1eb038
Author:    Felipe Pena <felipe...@gmail.com>         Tue, 25 Jun 2013 16:26:26 
-0300
Parents:   38eb909d064ecbbf51d5869a629dae91a6ed9dcf
Branches:  PHP-5.4 PHP-5.5 master

Link:       
http://git.php.net/?p=php-src.git;a=commitdiff;h=6ba93a4bae355ac1d247d1e474381bb92d1eb038

Log:
- Fixed bug #60732 (php_error_docref links to invalid pages) patch by: Jakub 
Vrana

Bugs:
https://bugs.php.net/60732

Changed paths:
  M  main/main.c


Diff:
diff --git a/main/main.c b/main/main.c
index c0db64d..2821dfc 100644
--- a/main/main.c
+++ b/main/main.c
@@ -784,6 +784,9 @@ PHPAPI void php_verror(const char *docref, const char 
*params, int type, const c
        /* no docref given but function is known (the default) */
        if (!docref && is_function) {
                int doclen;
+               while (*function == '_') {
+                       function++;
+               }
                if (space[0] == '\0') {
                        doclen = spprintf(&docref_buf, 0, "function.%s", 
function);
                } else {


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

Reply via email to