diff --git a/application/controllers/information.php b/application/controllers/information.php index 1fa361d5..d65c987b 100644 --- a/application/controllers/information.php +++ b/application/controllers/information.php @@ -1747,7 +1747,7 @@ class Information extends CI_Controller if (!empty($author)) { $data_H1['author'] = $author->OPI_FirstName; - $data['OPI_Code'] = $author->OPI_Code; + $data_H1['OPI_Code'] = $author->OPI_Code; } else { $author_web = $this->Infoauthors_model->detail_by_id($information->ic_author); //原始作者,可能是在线作者等 if (!empty($author_web)) { @@ -2111,7 +2111,7 @@ class Information extends CI_Controller $author = $this->Operator_model->get_author_nikename($information->ic_author); if (!empty($author)) { $data['author'] = $author->OPI_FirstName; - $data['OPI_Code'] = $author->OPI_Code; + $data['OPI_Code'] = $author->OPI_Code; } else { $author_web = $this->Infoauthors_model->detail_by_id($information->ic_author); //原始作者,可能是在线作者等 if (!empty($author_web)) {