M3 Integration fixes
This commit is contained in:
@@ -52,11 +52,6 @@ class ShipTo extends Model
|
||||
$existingRecord->where($this->getKeyName(), '!=', $this->getKey());
|
||||
}
|
||||
|
||||
if ($existingRecord->count() > 0) {
|
||||
return false;
|
||||
} else {
|
||||
return true;
|
||||
|
||||
}
|
||||
return $existingRecord->count() === 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user