Commit 93531259 authored by metzlerd's avatar metzlerd
Browse files

Notice suppression.

parent 68ea77cc
......@@ -46,7 +46,7 @@ function forena_load_cache($r_xhtml) {
$attrs = $block_node->attributes('urn:FrxReports');
foreach ($attrs as $key => $value) {
if ($key == 'block') {
list($provider, $block) = explode('/', $value, 2);
@list($provider, $block) = explode('/', $value, 2);
$repos[$provider][] = $block;
}
}
......
......@@ -1271,7 +1271,7 @@ function forena_db_sync($subdir='') {
$src_file = trim($d->path, '/') . '/' . trim($rpt_file, '/');
$dest_file = $path . '/' . trim($rpt_file, '/');
if (is_file($src_file)) {
list($base_file, $ext) = explode('.', $rpt_file, 2);
@list($base_file, $ext) = explode('.', $rpt_file, 2);
switch($ext) {
// Load Forena Reports
case 'frx':
......
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