nizart91 / localizator

MODx Revolution component for multilanguage sites with auto translate
7 stars 7 forks source link

PHP warning: Invalid argument supplied for foreach() #7

Closed lexsmil closed 5 years ago

lexsmil commented 5 years ago

core/components/localizator/model/localizator/localizator.class.php : 98) PHP warning: Invalid argument supplied for foreach()

https://github.com/nizart91/localizator/blob/390a6c423d912ee782d5904fcde2eaad1125e702/core/components/localizator/model/localizator/localizator.class.php#L98

FIX: Line 96: foreach ((array)$tabs as $tabid => $subtab) {

nizart91 commented 5 years ago

fixed