|
|
|
|
@ -34,8 +34,12 @@ class infoAccessmanage_model extends CI_Model
|
|
|
|
|
$author[$v->a_id]=$v->a_name;
|
|
|
|
|
}
|
|
|
|
|
foreach ($result as $r) {
|
|
|
|
|
if(is_numeric($r->iam_author) && $r->iam_author!==1) {
|
|
|
|
|
$r->name=$author[$r->iam_author];
|
|
|
|
|
if(is_numeric($r->iam_author)) {
|
|
|
|
|
if (isset($author[$r->iam_author])) {
|
|
|
|
|
$r->name = $author[$r->iam_author];
|
|
|
|
|
} else {
|
|
|
|
|
$r->name = $r->iam_author;
|
|
|
|
|
}
|
|
|
|
|
}elseif (is_null($r->name)) {
|
|
|
|
|
$r->name=$r->iam_author;
|
|
|
|
|
}else{
|
|
|
|
|
|