Errores en TPV solucionados

This commit is contained in:
Juan Ferrer Toribio 2016-01-07 15:30:42 +01:00
parent 12acaa5e38
commit c1992af214
2 changed files with 4 additions and 2 deletions

2
debian/changelog vendored
View File

@ -1,4 +1,4 @@
hedera-web (1.316-deb8) stable; urgency=low hedera-web (1.319-deb8) stable; urgency=low
* Initial Release. * Initial Release.

View File

@ -18,6 +18,8 @@ class Tpv
static function init () static function init ()
{ {
global $conf; global $conf;
require (Hedera\_CONFIG_DIR .'/config.my.php');
openlog ('hedera-web', LOG_ODELAY, LOG_LOCAL0); openlog ('hedera-web', LOG_ODELAY, LOG_LOCAL0);
@ -193,7 +195,7 @@ class Tpv
try { try {
return self::$conn->query ( return self::$conn->query (
'CALL transaction_confirm (#, #, #, #, #, #, #)', 'CALL transaction_confirm (#, #, #, #, #, #)',
[ [
$params['Ds_Amount'] $params['Ds_Amount']
,$params['Ds_Order'] ,$params['Ds_Order']