fix also for ipkg-tree, more categories

This commit is contained in:
Gnadelwartz
2018-02-06 14:33:30 +01:00
parent a507db65b0
commit ca9dc7a2ed
2 changed files with 3 additions and 3 deletions

View File

@@ -7,5 +7,5 @@ require './software-lib.pl';
@heiropen = &get_heiropen();
@heiropen = grep { $_ ne $in{'what'} } @heiropen;
&save_heiropen(\@heiropen);
&redirect("ipkg-tree.cgi#$in{'what'}");
&redirect("ipkg-tree.cgi#".&urlize($in{'what'}));

View File

@@ -1,4 +1,4 @@
#!/usr/local/bin/perl
#!//usr/local/bin/perl
# open.cgi
# Add some class to the open list
@@ -7,5 +7,5 @@ require './software-lib.pl';
@heiropen = &get_heiropen();
push(@heiropen, $in{'what'});
&save_heiropen(\@heiropen);
&redirect("ipkg-tree.cgi#$in{'what'}");
&redirect("ipkg-tree.cgi#".&urlize($in{'what'}));