diff --git a/lib/Resque/Redis.php b/lib/Resque/Redis.php index 3b6b643..153bd40 100644 --- a/lib/Resque/Redis.php +++ b/lib/Resque/Redis.php @@ -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;