2011-08-04 Javier Lanz <javier.lanz@artica.es>

* godmode/reporting/visual_console_builder.php: Fixed blank names in 
        maps in visual console builder

        Fixes: #3371409


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4669 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
javilanz 2011-08-04 16:54:43 +00:00
parent 7a443bd3bf
commit 5df28b8661
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2011-08-04 Javier Lanz <javier.lanz@artica.es>
* godmode/reporting/visual_console_builder.php: Fixed blank names in
maps in visual console builder
Fixes: #3371409
2011-08-04 Javier Lanz <javier.lanz@artica.es>
* godmode/reporting/reporting_builder.php: Fixed blank names in reports

View File

@ -60,7 +60,9 @@ switch ($activeTab) {
switch ($action) {
case 'update':
$result = db_process_sql_update('tlayout', $values, array('id' => $idVisualConsole));
$result = false;
if($values['name'] != "" && $values['background'])
$result = db_process_sql_update('tlayout', $values, array('id' => $idVisualConsole));
if ($result !== false && $values['background']) {
$action = 'edit';
$statusProcessInDB = array('flag' => true, 'message' => '<h3 class="suc">'.__('Successfully update.').'</h3>');