feature/cierres #25

Open
aldarien wants to merge 446 commits from feature/cierres into develop
150 changed files with 577 additions and 5302 deletions
Showing only changes of commit f2169c9536 - Show all commits

View File

@ -2,6 +2,7 @@
namespace Incoviba\Service\Venta\MediosPago; namespace Incoviba\Service\Venta\MediosPago;
use InvalidArgumentException; use InvalidArgumentException;
use PDO;
use Psr\Http\Message\ServerRequestInterface; use Psr\Http\Message\ServerRequestInterface;
use Incoviba\Common\Define\Connection; use Incoviba\Common\Define\Connection;
use Incoviba\Common\Ideal; use Incoviba\Common\Ideal;
@ -440,7 +441,7 @@ class Toku extends Ideal\Service
$params = [true, "%\"{$eventType}\"%"]; $params = [true, "%\"{$eventType}\"%"];
$statement = $this->connection->prepare($query); $statement = $this->connection->prepare($query);
$statement->execute($params); $statement->execute($params);
$results = $statement->fetchColumn(); $results = $statement->fetchAll(PDO::FETCH_COLUMN);
if (count($results) === 0) { if (count($results) === 0) {
return false; return false;
} }