[aur-dev] [PATCH] Do not ucfirst() merge base name in request list

Lukas Fleischer archlinux at cryptocrack.de
Wed Jul 2 17:11:39 EDT 2014


Make sure the first character of the merge base name is not capitalized
in the package request list.

Signed-off-by: Lukas Fleischer <archlinux at cryptocrack.de>
---
 web/template/pkgreq_results.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/web/template/pkgreq_results.php b/web/template/pkgreq_results.php
index 7933964..9cd6faf 100644
--- a/web/template/pkgreq_results.php
+++ b/web/template/pkgreq_results.php
@@ -37,7 +37,7 @@
 			<td><?= htmlspecialchars($row["Name"]) ?></td>
 			<?php endif; ?>
 			<?php if ($row['Type'] == 'merge'): ?>
-			<td><?= htmlspecialchars(ucfirst($row['Type']), ENT_QUOTES); ?> (<?= htmlspecialchars(ucfirst($row['MergeInto']), ENT_QUOTES); ?>)</td>
+			<td><?= htmlspecialchars(ucfirst($row['Type']), ENT_QUOTES); ?> (<?= htmlspecialchars($row['MergeInto'], ENT_QUOTES); ?>)</td>
 			<?php else: ?>
 			<td><?= htmlspecialchars(ucfirst($row['Type']), ENT_QUOTES); ?></td>
 			<?php endif; ?>
-- 
2.0.1



More information about the aur-dev mailing list