[Da-tools-commits] ./debian/userdir-ldap-cgi r97: Fix purposes_uplist to use passed argument instead of global variable
Peter Palfrader
peter at palfrader.org
Tue Jul 15 13:58:09 UTC 2008
------------------------------------------------------------
revno: 97
committer: Peter Palfrader <peter at palfrader.org>
branch nick: userdir-ldap-cgi
timestamp: Tue 2008-07-15 15:58:09 +0200
message:
Fix purposes_uplist to use passed argument instead of global variable
modified:
machines.cgi
-------------- next part --------------
=== modified file 'machines.cgi'
--- a/machines.cgi 2008-07-15 13:55:44 +0000
+++ b/machines.cgi 2008-07-15 13:58:09 +0000
@@ -98,7 +98,7 @@
$out = "<ul>".
join("", map {
"<li>".wiki_link($_)."</li>\n";
- } sort {my $A=$a; my $B=$b; $A =~ s/[\[\]]//g; $B =~ s/[\[\]]//g; $A cmp $B} @{$data->{purpose}}
+ } sort {my $A=$a; my $B=$b; $A =~ s/[\[\]]//g; $B =~ s/[\[\]]//g; $A cmp $B} @{$purposes}
).
"</ul>";
}
More information about the Da-tools-commits
mailing list