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

SF.net SVN: ledger-smb:[5129] branches/1.3



Revision: 5129
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=5129&view=rev
Author:   einhverfr
Date:     2012-09-27 06:46:04 +0000 (Thu, 27 Sep 2012)
Log Message:
-----------
Correcting redirect form instantiation logic --- NEEDS MORE TESTING

Modified Paths:
--------------
    branches/1.3/Changelog
    branches/1.3/LedgerSMB/Form.pm

Modified: branches/1.3/Changelog
===================================================================
--- branches/1.3/Changelog	2012-09-22 09:06:52 UTC (rev 5128)
+++ branches/1.3/Changelog	2012-09-27 06:46:04 UTC (rev 5129)
@@ -9,6 +9,8 @@
 * Fixed fatal gettext errors in ar_EG, fi, nb po's (Havard S)
 * Fixed prices being selected on RFQ (Chris T, h/t Erik H)
 * Fixed discount wrong after multiple parts selection (Chris T, h/T Istvan P)
+* Fixed action not found on redirect (Chris T, h/t Brian W)
+* Fixed issues upgrading from 1.2 if email and bcc are filled in (Chris T)
 
 Changelog for 1.3.22
 * Fixed error when trying to save multiple make/models for a part (Chris T)

Modified: branches/1.3/LedgerSMB/Form.pm
===================================================================
--- branches/1.3/LedgerSMB/Form.pm	2012-09-22 09:06:52 UTC (rev 5128)
+++ branches/1.3/LedgerSMB/Form.pm	2012-09-27 06:46:04 UTC (rev 5129)
@@ -103,11 +103,10 @@
         print "Status: 413\n Request entity too large\n\n";
         die "Error: Request entity too large\n";
     }
-
-    if ($ENV{CONTENT_LENGTH}!= 0){
-        read( STDIN, $_, $ENV{CONTENT_LENGTH} );
-    }elsif ($argstr) {
+    if ($argstr) {
         $_ = $argstr;
+    }elsif ($ENV{CONTENT_LENGTH}!= 0){
+        read( STDIN, $_, $ENV{CONTENT_LENGTH} );
     }
     elsif ( $ENV{QUERY_STRING} ) {
         $_ = $ENV{QUERY_STRING};

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