Files
fusionpbx/resources/classes
Alexey Melnichuk 594a353fab Fix. warning about using NULL as first argument in foreach.
Problem now in `tepmplate.php`
```PHP
$menu_array = $menu->menu_array();
...
foreach ($menu_array as $index_main => $menu_parent) {
```

It appear while install process because in this moment there not `$db`
and `$menu->menu_array()` returns nothing.

This problem also can be solved in `tepmplate.php` like
```PHP
if(is_array($menu_array)){
  foreach ($menu_array as $index_main => $menu_parent) {
...
```
2016-03-30 10:15:49 +03:00
..
2016-03-11 12:08:26 +00:00
2016-03-11 12:08:26 +00:00
2016-03-11 12:08:26 +00:00
2016-03-11 12:08:26 +00:00