| # | Line 153 | Line 153 | EOT; | |
|---|---|---|
| 153 | ||
| 154 | if ($machine == "ALL") { | |
| 155 | $machine_array = getdirArray($alertDirectory, 'asort'); | |
| 156 | < | foreach ($machine_array as $machine) { |
| 157 | < | printReports($machine); |
| 156 | > | if ($machine_array != FALSE) { |
| 157 | > | foreach ($machine_array as $machine) { |
| 158 | > | printReports($machine); |
| 159 | > | } |
| 160 | } | |
| 161 | } | |
| 162 | else { | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |