diff options
-rwxr-xr-x | LedgerSMB/Form.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/LedgerSMB/Form.pm b/LedgerSMB/Form.pm index 6f504894..30d848a7 100755 --- a/LedgerSMB/Form.pm +++ b/LedgerSMB/Form.pm @@ -361,6 +361,7 @@ sub sort_columns { my ( $self, @columns ) = @_; if ( $self->{sort} ) { + $self->{sort} =~ s/^"*(.*?)"*$/$1/; if (@columns) { @columns = grep !/^$self->{sort}$/, @columns; if ($self->{sort} !~ /^\d*$/){ |