mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 01:13:25 +01:00
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