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