Version 5.0.0 beta 2
This commit is contained in:
1 parent
15c7beabc5
commit
f61b0da85d
181 files changed
+3182
-1533
No files matched your search
@@ -656,6 +656,21 @@ class Area
|
||||
}
|
||||
}
|
||||
|
||||
/* Make sure that the widget actually exists, otherwise ignore it.
|
||||
This can be an issue if a widget was added and now no longer exists in the system. */
|
||||
try
|
||||
{
|
||||
if( !Widget::isValidWidget( Application::load( $block['app'] ), $block['key'] ) )
|
||||
{
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
catch( Exception )
|
||||
{
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
||||
/* Load configuration */
|
||||
if ( empty( $block['configuration'] ) or !is_array( $block['configuration'] ) )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user