This commit is contained in:
Julio Cesar Laura Avendaño
2019-09-27 13:50:44 -04:00
parent d11ffe8514
commit 5db34308b3
3 changed files with 3 additions and 37 deletions

View File

@@ -108,9 +108,8 @@ if (isset($request)) {
$aRows = [];
try {
$con = Propel::getConnection($bdUid);
$con->begin();
$rs = $con->executeQuery($sqlQuery);
$con->commit();
$stmt = $con->createStatement();
$rs = $stmt->executeQuery($sqlQuery, \ResultSet::FETCHMODE_NUM);
while ($rs->next()) {
array_push($aRows, $rs->getRow());