[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb: [1526] branches/1.2/LedgerSMB/Form.pm



Revision: 1526
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=1526&view=rev
Author:   tetragon
Date:     2007-09-06 18:40:09 -0700 (Thu, 06 Sep 2007)

Log Message:
-----------
Fixing bug 1789750

Modified Paths:
--------------
    branches/1.2/LedgerSMB/Form.pm

Modified: branches/1.2/LedgerSMB/Form.pm
===================================================================
--- branches/1.2/LedgerSMB/Form.pm	2007-09-06 21:14:20 UTC (rev 1525)
+++ branches/1.2/LedgerSMB/Form.pm	2007-09-07 01:40:09 UTC (rev 1526)
@@ -361,6 +361,7 @@
     my ( $self, @columns ) = @_;
 
     if ( $self->{sort} ) {
+        $self->{sort} =~ s/^"*(.*?)"*$/$1/;
         if (@columns) {
             @columns = grep !/^$self->{sort}$/, @columns;
             if ($self->{sort} !~ /^\d*$/){


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.