summaryrefslogtreecommitdiff
path: root/LedgerSMB/Form.pm
diff options
context:
space:
mode:
Diffstat (limited to 'LedgerSMB/Form.pm')
-rwxr-xr-xLedgerSMB/Form.pm1
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*$/){