Merged in gproly/processmaker/IMPROVEMENT (pull request #2351)

IMPROVEMENT
This commit is contained in:
Julio Cesar Laura Avendaño
2015-06-17 08:40:39 -04:00

View File

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