Solved wrong variable rewriting

This commit is contained in:
Jose Gonzalez 2019-06-27 14:58:57 +02:00
parent d4971c8509
commit a2877b46f3
1 changed files with 4 additions and 1 deletions

View File

@ -847,7 +847,10 @@ $class = 'databox filters';
}
?>
<?php
$text = __('This type of report brings a lot of data loading, it is recommended to use it for scheduled reports and not for real-time view.');
if (!isset($text)) {
$text = __('This type of report brings a lot of data loading, it is recommended to use it for scheduled reports and not for real-time view.');
}
echo '<a id="log_help_tip" style="visibility: hidden;" href="javascript:" class="tip" >'.html_print_image('images/tip.png', true, ['title' => $text]).'</a>';
?>
</td>