Fix PHP warning, change icon

pull/2926/head
Julio Montoya 6 years ago
parent c393fe0aee
commit ab78f37c00
  1. 13
      plugin/bbb/lib/bbb.lib.php

@ -1452,8 +1452,12 @@ class bbb
return ''; return '';
} }
return api_get_path(WEB_PLUGIN_PATH). if (empty($recordInfo) || (!empty($recordInfo['recordId']) && !isset($recordInfo['recordId']))) {
'bbb/listing.php?'.$this->getUrlParams().'&action=regenerate_record&id='.$meeting['id'].'&record_id='.$recordInfo['recordId']; return '';
}
return api_get_path(WEB_PLUGIN_PATH).'bbb/listing.php?'.$this->getUrlParams().
'&action=regenerate_record&id='.$meeting['id'].'&record_id='.$recordInfo['recordId'];
} }
@ -1467,7 +1471,8 @@ class bbb
return ''; return '';
} }
return api_get_path(WEB_PLUGIN_PATH).'bbb/listing.php?'.$this->getUrlParams().'&action=copy_record_to_link_tool&id='.$meeting['id']; return api_get_path(WEB_PLUGIN_PATH).
'bbb/listing.php?'.$this->getUrlParams().'&action=copy_record_to_link_tool&id='.$meeting['id'];
} }
/** /**
@ -1641,7 +1646,7 @@ class bbb
if (!empty($recordInfo)) { if (!empty($recordInfo)) {
$links[] = Display::url( $links[] = Display::url(
Display::return_icon('refresh.gif', get_lang('RegenerateRecord')), Display::return_icon('reload.png', get_lang('RegenerateRecord')),
$this->regenerateRecordUrl($meetingInfo, $recordInfo) $this->regenerateRecordUrl($meetingInfo, $recordInfo)
); );
} }

Loading…
Cancel
Save