IMPROVEMENT

This commit is contained in:
Roly Rudy Gutierrez Pinto
2015-06-16 15:56:20 -04:00
parent 5b6dc0667e
commit 1796166a7b

View File

@@ -152,7 +152,7 @@ class pmDynaform
$cnn = Propel::getConnection($json->dbConnection); $cnn = Propel::getConnection($json->dbConnection);
$stmt = $cnn->createStatement(); $stmt = $cnn->createStatement();
try { try {
$rs = $stmt->executeQuery($json->sql, \ResultSet::FETCHMODE_NUM); $rs = $stmt->executeQuery(G::replaceDataField($json->sql, array()), \ResultSet::FETCHMODE_NUM);
while ($rs->next()) { while ($rs->next()) {
$row = $rs->getRow(); $row = $rs->getRow();
$option = array( $option = array(