Changeset 69 in bookmarks for trunk


Ignore:
Timestamp:
02/09/14 23:42:17 (11 years ago)
Author:
peter
Message:

remove extraneous blank ?q= parameters when generating links

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BookmarksList.pm

    r68 r69  
    2424    my $self = shift; 
    2525    my ($self_type, $query) = @_; 
     26 
     27    # remove extraneous blank ?q= parameters 
     28    delete $query->{q} if defined $query->{q} && $query->{q} eq ''; 
     29     
    2630    my @links = ( 
    2731        { 
Note: See TracChangeset for help on using the changeset viewer.