forked from extern/egroupware
fix warning because video does not exist in requested language, falling back to "en"
This commit is contained in:
parent
625cc51c59
commit
5143a0a7b9
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user