[guadec-web] Fix people underpaying one day in August :(



commit f9221902d2d47b2f725f29a6da262c148a16ab78
Author: Pascal Terjan <pterjan gmail com>
Date:   Tue Jul 22 08:41:46 2014 +0000

    Fix people underpaying one day in August :(

 guadec/pricing.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/guadec/pricing.php b/guadec/pricing.php
index ee09ad9..073af21 100644
--- a/guadec/pricing.php
+++ b/guadec/pricing.php
@@ -25,7 +25,7 @@
         }
        }
        else{
-         $diffDate = (31 - $aDate) + 1;
+         $diffDate = (31 - $aDate) + $bDate;
        }
        return $diffDate;   
     }


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