Skip to content

Commit

Permalink
Merge pull request #313 from petrkotek/petrkotek-patch-1
Browse files Browse the repository at this point in the history
Resque_Redis: use `&&` rather than `and`
  • Loading branch information
chrisboulton authored Oct 20, 2016
2 parents 3c5dac8 + b054df7 commit a03f00f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Resque/Redis.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class Resque_Redis
*/
public static function prefix($namespace)
{
if (substr($namespace, -1) !== ':' and $namespace != '') {
if (substr($namespace, -1) !== ':' && $namespace != '') {
$namespace .= ':';
}
self::$defaultNamespace = $namespace;
Expand Down

0 comments on commit a03f00f

Please sign in to comment.