Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
and
  • Loading branch information
adl13006 committed Dec 2, 2015
1 parent be7c2bc commit e390155
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -17,7 +17,7 @@ namespace TeamDBAwesome.Controllers

payment.Type = payment.Type.ToUpper();

if(payment.is_default != 0 || payment.is_default != 1)
if(payment.is_default != 0 && payment.is_default != 1)
{
return new HttpResponseMessage(HttpStatusCode.BadRequest);
}
Expand Down

0 comments on commit e390155

Please sign in to comment.