diff --git a/core/dashboard/index.php b/core/dashboard/index.php index 7d10bb6e54..f58b4da2b3 100644 --- a/core/dashboard/index.php +++ b/core/dashboard/index.php @@ -562,7 +562,9 @@ function toggle_grid_row_end_all() { $path_array = glob(dirname(__DIR__, 2).'/*/'.$application_name.'/resources/dashboard/'.$widget_name.'.php'); echo "
\n"; - include $path_array[0]; + if (file_exists($path_array[0])) { + include $path_array[0]; + } echo "
\n"; $x++;