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