Fix. Adicion end point suggest field
This commit is contained in:
@@ -636,12 +636,6 @@ class Variable
|
|||||||
//Get data
|
//Get data
|
||||||
$_SESSION["PROCESS"] = $processUid;
|
$_SESSION["PROCESS"] = $processUid;
|
||||||
|
|
||||||
$cnn = \Propel::getConnection(($variableDbConnectionUid . "" != "")? $variableDbConnectionUid : "workflow");
|
|
||||||
$stmt = $cnn->createStatement();
|
|
||||||
|
|
||||||
$rs = $stmt->executeQuery(\G::replaceDataField($variableSql, $arrayVariable), \ResultSet::FETCHMODE_NUM);
|
|
||||||
|
|
||||||
|
|
||||||
foreach ($arrayVariable as $keyRequest => $valueRequest) {
|
foreach ($arrayVariable as $keyRequest => $valueRequest) {
|
||||||
$keyRequest = strtoupper($keyRequest);
|
$keyRequest = strtoupper($keyRequest);
|
||||||
|
|
||||||
@@ -664,6 +658,9 @@ class Variable
|
|||||||
|
|
||||||
$sqlQuery = $variableSql . $sqlConditionLike . $sqlLimit;
|
$sqlQuery = $variableSql . $sqlConditionLike . $sqlLimit;
|
||||||
|
|
||||||
|
$cnn = \Propel::getConnection(($variableDbConnectionUid . "" != "")? $variableDbConnectionUid : "workflow");
|
||||||
|
$stmt = $cnn->createStatement();
|
||||||
|
|
||||||
$rs = $stmt->executeQuery(\G::replaceDataField($sqlQuery, $arrayVariable), \ResultSet::FETCHMODE_NUM);
|
$rs = $stmt->executeQuery(\G::replaceDataField($sqlQuery, $arrayVariable), \ResultSet::FETCHMODE_NUM);
|
||||||
|
|
||||||
while ($rs->next()) {
|
while ($rs->next()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user