Working in the massive action for the tags in policies. Ticket: #1576

This commit is contained in:
mdtrooper 2014-12-09 15:57:15 +01:00
parent 95e57c41fe
commit 704b3932a4
2 changed files with 17 additions and 7 deletions

View File

@ -1467,7 +1467,16 @@ function html_print_table (&$table, $return = false) {
$style[$key] = '';
}
$output .= '<td id="'.$tableid.'-'.$keyrow.'-'.$key.'" style="'. $cellstyle[$keyrow][$key].$style[$key].$valign[$key].$align[$key].$size[$key].$wrap[$key] .'" '.$colspan[$keyrow][$key].' '.$rowspan[$keyrow][$key].' class="' . $class . ' ' . $cellclass[$keyrow][$key] . '">'. $item .'</td>'."\n";
$output .= '<td ' .
'id="' . $tableid . '-' . $keyrow . '-' . $key . '" ' .
'style="' . $cellstyle[$keyrow][$key] .
$style[$key] . $valign[$key] . $align[$key] .
$size[$key] . $wrap[$key] . '" ' .
$colspan[$keyrow][$key] . ' ' .
$rowspan[$keyrow][$key] . ' ' .
'class="' . $class . ' ' .
$cellclass[$keyrow][$key] . '">' .
$item . '</td>' . "\n";
}
$output .= '</tr>' . "\n";
}

View File

@ -532,7 +532,8 @@ function tags_get_policy_module_tags ($id_policy_module) {
if (empty($id_policy_module))
return false;
$tags = db_get_all_rows_filter('ttag_policy_module', array('id_policy_module' => $id_policy_module), false);
$tags = db_get_all_rows_filter('ttag_policy_module',
array('id_policy_module' => $id_policy_module), false);
if ($tags === false)
return false;