This commit is contained in:
wangjinlei
2022-06-13 15:49:02 +08:00
parent 63bdfda109
commit 669d909abf
2 changed files with 3 additions and 3 deletions

View File

@@ -444,7 +444,7 @@ class Publish extends Controller {
foreach ($frag1 as $k => $v){
$frag1[$k]['pj_tou'] = intval($pjarr[$k]['tou']/3);
if($k!='de'){
$frag1[$k]['pj_wei'] = intval($pjarr[$k]['wei']/3);
$frag1[$k]['pj_wei'] = intval(isset($pjarr[$k]['wei'])?$pjarr[$k]['wei']/3:0);
}
}