|
|
|
|
@ -2710,7 +2710,7 @@ class Information extends CI_Controller {
|
|
|
|
|
$author = $this->Operator_model->get_author_nikename($information->ic_author);
|
|
|
|
|
$data['author_info'] = ['url' => '', 'avatar' => '', 'expertise' => ''];
|
|
|
|
|
|
|
|
|
|
if (! empty($author)) {
|
|
|
|
|
if (!empty($author)) {
|
|
|
|
|
$data['author_name'] = $author->OPI_FirstName;
|
|
|
|
|
$data['OPI_Code'] = $author->OPI_Code;
|
|
|
|
|
|
|
|
|
|
@ -2718,8 +2718,9 @@ class Information extends CI_Controller {
|
|
|
|
|
$data['author_info'] = $author_info;
|
|
|
|
|
} else {
|
|
|
|
|
$author_web = $this->Infoauthors_model->detail_by_id($information->ic_author); //原始作者,可能是在线作者等
|
|
|
|
|
if (! empty($author_web)) {
|
|
|
|
|
if (!empty($author_web)) {
|
|
|
|
|
$data['author_name'] = $author_web->a_name;
|
|
|
|
|
$author_info = ['url' => '', 'avatar' => '', 'expertise' => ''];
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
$data['breadcrumb_data'] = $breadcrumb_data;
|
|
|
|
|
|