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
@@ -390,12 +390,19 @@ class Application extends SystemApplication
|
||||
continue;
|
||||
}
|
||||
|
||||
$block = Widget::load( $this, 'RecordFeed' . $db->id, mt_rand(), array(), $widget['restrict'] );
|
||||
$block->allowReuse = (boolean) $widget['allow_reuse'];
|
||||
$block->menuStyle = $widget['menu_style'];
|
||||
$block->allowCustomPadding = (bool) $widget['padding'];
|
||||
$block->layouts = $block->getSupportedLayouts();
|
||||
$blocks[] = $block;
|
||||
try
|
||||
{
|
||||
$block = Widget::load( $this, 'RecordFeed' . $db->id, mt_rand(), array(), $widget['restrict'] );
|
||||
$block->allowReuse = (boolean)$widget['allow_reuse'];
|
||||
$block->menuStyle = $widget['menu_style'];
|
||||
$block->allowCustomPadding = (bool)$widget['padding'];
|
||||
$block->layouts = $block->getSupportedLayouts();
|
||||
$blocks[] = $block;
|
||||
}
|
||||
catch ( Exception $e )
|
||||
{
|
||||
continue;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user