Change or to || 

because of assignment precedence
Merge pull request #1 from ivanoats/patch-1

Change or to ||