Fixing Issue #3960

Improve warning you get when attempting to view a log file you don't have access to
This commit is contained in:
TheWitness committed 2020-11-27 09:53:29 -05:00
1 parent 909bcbf7c5
commit 1a58f59deb
2 files changed
+2 -2

No files matched your search

+1
View File
@@ -25,6 +25,7 @@ Cacti CHANGELOG
-issue#3948: Required MariaDB/MySQL connection count is confusing
-issue#3953: During upgrade, there are times when realms can be duplicated leading to SQL errors
-issue#3957: Cacti ping.php does not collect correct respone time when using UDP ping Timing
-issue#3960: Improve warning you get when attempting to view a log file you don't have access to
-feature#3923: Added ability to Hide the Graph Drilldowns icons from the graph_view.php and graph.php pages
-feature: Update c3.js to version 0.7.20
-feature: Update d3.js to version 6.2.0
+1 -2
View File
@@ -1032,8 +1032,7 @@ function tail_file($file_name, $number_of_lines, $message_type = -1, $filter = '
}
if (!is_readable($file_name)) {
print __('Error %s is not readable', $file_name);
return array();
return array(__('Error %s is not readable', $file_name));
}
$filter = strtolower($filter);