com web/bugs: associative index needed here: templates/patchdiff.php
| From: | Rasmus Lerdorf | Date: | Sun, 22 Jul 2018 11:54:59 +0000 |
| Subject: | com web/bugs: associative index needed here: templates/patchdiff.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-27160@lists.php.net to get a copy of this message | ||
Commit: 6cd9d03b3ada00411bff097b51bac409a44b0587
Author: Rasmus Lerdorf <rasmus@php.net> Sun, 22 Jul 2018 07:54:59 -0400
Parents: 64b2cba45826965f911cac39bb89204140abf78b
Branches: master
Link: http://git.php.net/?p=web/bugs.git;a=commitdiff;h=6cd9d03b3ada00411bff097b51bac409a44b0587
Log:
associative index needed here
Changed paths:
M templates/patchdiff.php
Diff:
diff --git a/templates/patchdiff.php b/templates/patchdiff.php
index 37acd54..554f24a 100644
--- a/templates/patchdiff.php
+++ b/templates/patchdiff.php
@@ -31,8 +31,8 @@ if (count($obsoletes)) {
Patch Revisions:
<?php foreach ($revisions as $i => $revision) { ?>
<a href="patch-display.php?bug_id=<?php echo $bug_id; ?>&patch=<?php
- echo $patch_name_url; ?>&revision=<?php echo urlencode($revision[0]);
?>"><?php
- echo format_date($revision[0]); ?></a><?php if ($i < count($revisions) - 1) echo
' | '; ?>
+ echo $patch_name_url; ?>&revision=<?php echo
urlencode($revision['revision']); ?>"><?php
+ echo format_date($revision['revision']); ?></a><?php if ($i <
count($revisions) - 1) echo ' | '; ?>
<?php } ?>
<h3>Developer: <?php echo $handle; ?></h3>
<pre>