diff --git a/home/inc/class.home_tutorial_ui.inc.php b/home/inc/class.home_tutorial_ui.inc.php index 7f0018ec23..da5fccd870 100644 --- a/home/inc/class.home_tutorial_ui.inc.php +++ b/home/inc/class.home_tutorial_ui.inc.php @@ -68,7 +68,7 @@ class home_tutorial_ui 'apps' => $appName, '0' => '' ); - foreach ($tutorials[$appName][$lang] as $v) + foreach (isset($tutorials[$appName][$lang]) ? $tutorials[$appName][$lang] : $tutorials[$appName]['en'] as $v) { $v ['onclick'] = 'app.home.tutorial_videoOnClick("'.$v['src'].'")'; array_push($list, $v);