From b054df780fdedb5509cb3c675198e1887177a4a6 Mon Sep 17 00:00:00 2001 From: Petr Kotek Date: Thu, 20 Oct 2016 23:58:23 +0200 Subject: [PATCH] Resque_Redis: use `&&` rather than `and` --- lib/Resque/Redis.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;