From 0d779a471c0488b5900d9bf07aec0b7ba419f05d Mon Sep 17 00:00:00 2001 From: tetragon Date: Fri, 7 Sep 2007 01:40:41 +0000 Subject: Fixing bug 1789750 git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1527 4979c152-3d1c-0410-bac9-87ea11338e46 --- LedgerSMB/Form.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'LedgerSMB/Form.pm') 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*$/){ -- cgit v1.2.3