Commit 68ea77cc authored by metzlerd's avatar metzlerd
Browse files

Fixing notice error.

parent af22b734
......@@ -2103,7 +2103,7 @@ function forena_user_data_blocks($search) {
foreach ($blocks as $block) {
$block_info = $o->loadBlock($block);
if (method_exists($o, 'access')) {
$allow = $o->access($block_info['access']);
$allow = $o->access(@$block_info['access']);
if ($allow) $user_blocks[] = $name . '/' . $block;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment