php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #55711
Patch ReportABug.patch revision 2011-09-16 14:20 UTC by RQuadling at GMail dot com

Patch ReportABug.patch for Website problem Bug #55711

Patch version 2011-09-16 14:20 UTC

Return to Bug #55711 | Download this patch
Patch Revisions:

Developer: RQuadling@GMail.com

Index: shared-manual.inc
===================================================================
--- shared-manual.inc	(revision 316854)
+++ shared-manual.inc	(working copy)
@@ -130,7 +130,7 @@
 	};
 
 	$(".refsect1 h3.title").each(function() {
-        url = "http://bugs.php.net/report.php?bug_type=Documentation+problem&manpage=" + $(this).parent().parent().attr("id") + "%23" + $(this).text();
+        url = "http://bugs.php.net/report.php?bug_type=Documentation+problem&manpage=" + $(this).parent().parent().attr("id") + "#" + $(this).parent().attr("id");
 		$(this).parent().prepend("<div class=\'reportbug\'><a href=\'" + url + "\'>Report a bug</a></div>");
 		$(this).prepend("<a class=\'toggler shown\' href=\'#\'><img src=\'/images/notes-reject.gif\' alt=\'reject note\' /></a> ");
 	});
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 16:00:02 2026 UTC