Validating many warnings and notices

This commit is contained in:
Julio Cesar Laura
2013-01-31 10:41:53 -04:00
parent 73e141e430
commit c861260c67
5 changed files with 11 additions and 1 deletions

View File

@@ -216,6 +216,9 @@ class DynaFormField extends DBTable
}
// parent::Save();
if (!isset($Fields['XMLNODE_VALUE'])) {
$Fields['XMLNODE_VALUE'] = '';
}
if (trim($Fields['XMLNODE_VALUE']) != "") {
$attributes['#cdata'] = $Fields['XMLNODE_VALUE'];
}
@@ -247,4 +250,3 @@ class DynaFormField extends DBTable
return ($res->count() == 0);
}
}