From c1992af214ebf626c087cc380fe402f72decd64b Mon Sep 17 00:00:00 2001 From: Juan Ferrer Toribio Date: Thu, 7 Jan 2016 15:30:42 +0100 Subject: [PATCH] Errores en TPV solucionados --- debian/changelog | 2 +- lib/vn/tpv/tpv.php | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 47c5f3be..5943f593 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -hedera-web (1.316-deb8) stable; urgency=low +hedera-web (1.319-deb8) stable; urgency=low * Initial Release. diff --git a/lib/vn/tpv/tpv.php b/lib/vn/tpv/tpv.php index 2ec5035b..1591e784 100755 --- a/lib/vn/tpv/tpv.php +++ b/lib/vn/tpv/tpv.php @@ -18,6 +18,8 @@ class Tpv static function init () { global $conf; + + require (Hedera\_CONFIG_DIR .'/config.my.php'); openlog ('hedera-web', LOG_ODELAY, LOG_LOCAL0); @@ -193,7 +195,7 @@ class Tpv try { return self::$conn->query ( - 'CALL transaction_confirm (#, #, #, #, #, #, #)', + 'CALL transaction_confirm (#, #, #, #, #, #)', [ $params['Ds_Amount'] ,$params['Ds_Order']