Commit fc585f65 authored by David Metzler's avatar David Metzler
Browse files

Notice suppression.

parent d3cd324a
......@@ -70,7 +70,7 @@ class FrxReportFile extends FrxFile {
$lang = $language->language;
$name = "$lang/$name";
}
return $data[$name];
return @$data[$name];
}
public function menuReports() {
......
......@@ -1027,7 +1027,9 @@ function forena_check_all_access($checks) {
function forena_report_title_callback($report_name, $use_menu_title=TRUE) {
$title = '';
$info = Frx::File()->getReportCacheInfo($report_name);
$title = $use_menu_title && $info && isset($info->cache['menu']['title']) ? $info->cache['menu']['title']: $info->cache['title'];
if ($info) {
$title = $use_menu_title && $info && isset($info->cache['menu']['title']) ? $info->cache['menu']['title']: $info->cache['title'];
}
return $title;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment