And more validations for warnings and notices
This commit is contained in:
@@ -2779,6 +2779,7 @@ class G
|
|||||||
|
|
||||||
self::_del_p( $mnary );
|
self::_del_p( $mnary );
|
||||||
|
|
||||||
|
$obj_resp = new stdclass();
|
||||||
$obj_resp->code = xml_get_error_code( $parser );
|
$obj_resp->code = xml_get_error_code( $parser );
|
||||||
$obj_resp->message = xml_error_string( $obj_resp->code );
|
$obj_resp->message = xml_error_string( $obj_resp->code );
|
||||||
$obj_resp->result = $mnary;
|
$obj_resp->result = $mnary;
|
||||||
|
|||||||
@@ -431,6 +431,9 @@ class Publisher
|
|||||||
if (isset( $Part['ajaxServer'] ) && ($Part['ajaxServer'] !== '')) {
|
if (isset( $Part['ajaxServer'] ) && ($Part['ajaxServer'] !== '')) {
|
||||||
$oTable->ajaxServer = $Part['ajaxServer'];
|
$oTable->ajaxServer = $Part['ajaxServer'];
|
||||||
}
|
}
|
||||||
|
if (!isset($G_FORM->xmlform)) {
|
||||||
|
$G_FORM->xmlform = new stdclass();
|
||||||
|
}
|
||||||
$G_FORM->xmlform->fileXml = $G_FORM->fileName;
|
$G_FORM->xmlform->fileXml = $G_FORM->fileName;
|
||||||
$G_FORM->xmlform->home = $G_FORM->home;
|
$G_FORM->xmlform->home = $G_FORM->home;
|
||||||
$G_FORM->xmlform->tree->attribute = $G_FORM->tree->attributes;
|
$G_FORM->xmlform->tree->attribute = $G_FORM->tree->attributes;
|
||||||
|
|||||||
@@ -86,6 +86,7 @@ $newContent = $G_FORM->getFields( $template );
|
|||||||
$sendContent = array ();
|
$sendContent = array ();
|
||||||
$r = 0;
|
$r = 0;
|
||||||
foreach ($dependentFields as $d) {
|
foreach ($dependentFields as $d) {
|
||||||
|
$sendContent[$r] = new stdclass();
|
||||||
$sendContent[$r]->name = $d;
|
$sendContent[$r]->name = $d;
|
||||||
$sendContent[$r]->content = null;
|
$sendContent[$r]->content = null;
|
||||||
foreach ($G_FORM->fields[$d] as $attribute => $value) {
|
foreach ($G_FORM->fields[$d] as $attribute => $value) {
|
||||||
|
|||||||
Reference in New Issue
Block a user