summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-09-07 01:40:09 +0000
committertetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-09-07 01:40:09 +0000
commit7b74042c60b0054faf4c046379d94d74d8eabd0f (patch)
tree7eb18cc934f0735a4f488f42e48ad15824b8a927
parent6bd15a9cdada79bdc7706fe895dd3d4b91b36b09 (diff)
Fixing bug 1789750
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@1526 4979c152-3d1c-0410-bac9-87ea11338e46
-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*$/){