]> git.pld-linux.org Git - packages/cacti.git/blob - cacti-ioerror.patch
poller_graphs_reapply_names.php uses -id instead of --id
[packages/cacti.git] / cacti-ioerror.patch
1 --- cacti/lib/functions.php~    2008-10-05 06:16:11.000000000 +0300
2 +++ cacti/lib/functions.php     2008-10-05 06:16:13.069722888 +0300
3 @@ -437,6 +437,9 @@
4  
5         if (file_exists($file_name)) {
6                 $fp = fopen($file_name, "r");
7 +               if (!$fp) {
8 +                       return $file_array;
9 +               }
10  
11                 /* reset back the number of bytes */
12                 if ($number_of_lines > 0) {
This page took 0.0279 seconds and 3 git commands to generate.