Validating many warnings and notices
This commit is contained in:
@@ -5509,6 +5509,9 @@ class xmlformTemplate extends Smarty
|
||||
if (! is_array( $value )) {
|
||||
if ($form->type == 'grid') {
|
||||
$aAux = array ();
|
||||
if (!isset($form->values[$form->name])) {
|
||||
$form->values[$form->name] = array();
|
||||
}
|
||||
if ($therow == - 1) {
|
||||
for ($i = 0; $i < count( $form->values[$form->name] ); $i ++) {
|
||||
$aAux[] = '';
|
||||
|
||||
@@ -67,6 +67,7 @@ class dashletRssReader implements DashletInterface
|
||||
) );
|
||||
}
|
||||
|
||||
$self = new stdclass();
|
||||
$self->rss = @simplexml_load_string( curl_exec( $pCurl ) );
|
||||
if ($self->rss) {
|
||||
$index = 0;
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -59,6 +59,7 @@ $tabItems = array ();
|
||||
$i = 0;
|
||||
|
||||
foreach ($menuTypes as $menuType) {
|
||||
$tabItems[$i] = new stdclass();
|
||||
$tabItems[$i]->id = $menuType;
|
||||
$LABEL_TRANSLATION = G::LoadTranslation( "ID_" . strtoupper( $menuType ) );
|
||||
|
||||
|
||||
@@ -64,6 +64,9 @@ try {
|
||||
}
|
||||
|
||||
//Validating TAS_ASSIGN_VARIABLE value
|
||||
if (!isset($aData['TAS_ASSIGN_TYPE'])) {
|
||||
$aData['TAS_ASSIGN_TYPE'] = 'BALANCED';
|
||||
}
|
||||
if ($aData['TAS_ASSIGN_TYPE'] == 'SELF_SERVICE_EVALUATE') {
|
||||
$aData['TAS_ASSIGN_TYPE'] = 'SELF_SERVICE';
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user