1
This commit is contained in:
@@ -298,7 +298,8 @@ function my_doiToFrag1($data){
|
||||
$f = $data['refer_content'];
|
||||
}else{
|
||||
$c_frag = rtrim($frag,'.');
|
||||
$f = substr_replace($c_frag,PHP_EOL,strripos($c_frag,"http"),0);
|
||||
// $f = substr_replace($c_frag,PHP_EOL,strripos($c_frag,"http"),0);
|
||||
$f = $c_frag." Available at: ".PHP_EOL."http://doi.org/".$data['refer_doi'];
|
||||
$cs = 1;
|
||||
}
|
||||
$p_refer_obj->where('p_refer_id',$data['p_refer_id'])->update(['refer_frag'=>$f,"cs"=>$cs]);
|
||||
|
||||
Reference in New Issue
Block a user