@@ -75,7 +75,7 @@ class SyncMjWarehouse extends Command {
// $up['realPrice'] = 0;
// $up['outPrice'] = 0;
}
- if(!$cost['outPrice']){
+ if(!$cost->outPrice){
if(isset($up['realPrice'])){
$up['outPrice'] = ceil($up['realPrice']*1.15);