summaryrefslogtreecommitdiff
path: root/LedgerSMB
diff options
context:
space:
mode:
Diffstat (limited to 'LedgerSMB')
-rw-r--r--LedgerSMB/Form.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/LedgerSMB/Form.pm b/LedgerSMB/Form.pm
index db086a09..ca2abc6f 100644
--- a/LedgerSMB/Form.pm
+++ b/LedgerSMB/Form.pm
@@ -544,6 +544,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*$/){