Merge remote-tracking branch 'upstream/3.0.1.8' into 3.0.1.7-Gmail
This commit is contained in:
@@ -176,9 +176,9 @@ class pmDynaform
|
||||
$json->sql = "";
|
||||
$json->optionsSql = array();
|
||||
if ($json->dbConnection !== "" && $json->dbConnection !== "none" && $json->sql !== "") {
|
||||
$cnn = Propel::getConnection($json->dbConnection);
|
||||
$stmt = $cnn->createStatement();
|
||||
try {
|
||||
$cnn = Propel::getConnection($json->dbConnection);
|
||||
$stmt = $cnn->createStatement();
|
||||
$sql = G::replaceDataField($json->sql, $this->getValuesDependentFields($json));
|
||||
$rs = $stmt->executeQuery($sql, \ResultSet::FETCHMODE_NUM);
|
||||
while ($rs->next()) {
|
||||
@@ -518,6 +518,7 @@ class pmDynaform
|
||||
$jsonUpdate = G::json_decode($ri["DYN_CONTENT"]);
|
||||
$jsonUpdate = $jsonUpdate->items[0];
|
||||
$jsonUpdate->colSpan = $json->colSpan;
|
||||
$jsonUpdate->mode = $json->mode;
|
||||
$jsonUpdate->jsonUpdate = true;
|
||||
$json = $jsonUpdate;
|
||||
$this->jsonr($json);
|
||||
@@ -941,6 +942,7 @@ class pmDynaform
|
||||
$jsonUpdate = G::json_decode($ri["DYN_CONTENT"]);
|
||||
$jsonUpdate = $jsonUpdate->items[0];
|
||||
$jsonUpdate->colSpan = $jsonSearch->colSpan;
|
||||
$jsonUpdate->mode = $jsonSearch->mode;
|
||||
$this->jsonReplace($json, $ri["DYN_UID"], "id", $jsonUpdate);
|
||||
}
|
||||
$this->record["DYN_CONTENT"] = G::json_encode($json);
|
||||
|
||||
Reference in New Issue
Block a user