[guadec-web] Small fixes in the PHP code



commit 209a1920602144fb72c183c93771015c83baf302
Author: Pascal Terjan <pterjan gmail com>
Date:   Mon Jul 14 17:26:17 2014 +0000

    Small fixes in the PHP code

 guadec/js/calculate.php |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/guadec/js/calculate.php b/guadec/js/calculate.php
index f86496a..2ec9907 100644
--- a/guadec/js/calculate.php
+++ b/guadec/js/calculate.php
@@ -34,7 +34,8 @@
                      $aResult = 0;
                    }
                    else{
-                     $aResult = accomPrice($_POST['arguments'][0], $_POST['arguments'][1], 
$_POST['arguments'][2]){
+                     $nights = dayParser($_POST['arguments'][0], $_POST['arguments'][1]);
+                     $aResult = accomPrice($nights, $_POST['arguments'][3]){
                   }
                }
                break;


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