Skip to content

Commit

Permalink
Merge pull request #181 from AY2122S1-CS2103T-W16-2/imran/fix-edit-order
Browse files Browse the repository at this point in the history
Fix edit order
  • Loading branch information
zognin authored Oct 27, 2021
2 parents cd1e0ff + 427d8c0 commit ce9d312
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public OrderDescriptor(OrderDescriptor toCopy) {
* Returns true if at least one field is edited.
*/
public boolean isAnyFieldEdited() {
return CollectionUtil.isAnyNonNull(clientIndex, clientName, clientPhone, clientAddress, recipeName,
return CollectionUtil.isAnyNonNull(clientIndex, clientName, clientPhone, clientAddress, recipeIndex, recipeName,
recipeIngredients, orderPrice, deadline, quantity);
}

Expand Down

0 comments on commit ce9d312

Please sign in to comment.