view debian/patches/22_bins-hash-ref @ 8:c28af937b9bd

log verbosity fix (entr)
author Peter Gervai <grin@grin.hu>
date Thu, 16 Oct 2008 00:06:40 +0200
parents c5749e43b1d7
children
line wrap: on
line source

#! /bin/sh /usr/share/dpatch/dpatch-run
## 22_hash_ref.dpatch by  <rousseau@imac.maison.bogus>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Closes: #481662 bins: Crashes mid-album

@DPATCH@
--- bins-1.1.29.orig/bins
+++ bins-1.1.29/bins
@@ -3750,8 +3750,8 @@
 
     my @descTable;
     foreach my $tagName (@mainFields) {
-        if (${%$hashref}{$tagName}) {
-            my $value=${%$hashref}{$tagName};
+        if (${$hashref}{$tagName}) {
+            my $value=${$hashref}{$tagName};
             $value =~ s/'/&#39;/g  ; # in case it's used in javascript code
             push @descTable, {DESC_FIELD_NAME => $fields{$tagName}->{'Name'},
                               DESC_FIELD_VALUE => $value,