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