Update slug.php

Bad logical operator
Merge pull request #344 from sagikazarmark/patch-1

Update slug.php