[guadec-web] Fix variable name



commit d4c9c033fce271dd1f98f41a621ec375aa4a4c5f
Author: Pascal Terjan <pterjan gmail com>
Date:   Thu Jul 17 09:03:05 2014 +0000

    Fix variable name

 guadec/js/calculate.php |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/guadec/js/calculate.php b/guadec/js/calculate.php
index 63ae7f9..980e187 100644
--- a/guadec/js/calculate.php
+++ b/guadec/js/calculate.php
@@ -56,8 +56,8 @@
                      $accom = 0;
                    }
                   $aResult = $accom + $lunch + $fee;
-                  if ($total_days == "Incorrect dates"){
-                      $aResult = $total_days;
+                  if ($nights == "Incorrect dates"){
+                      $aResult = $nights;
                   }
                      
                }


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