Skip to content

Commit b054df7

Browse files
authoredOct 20, 2016
Resque_Redis: use && rather than and
1 parent 3c5dac8 commit b054df7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎lib/Resque/Redis.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ class Resque_Redis
9898
*/
9999
public static function prefix($namespace)
100100
{
101-
if (substr($namespace, -1) !== ':' and $namespace != '') {
101+
if (substr($namespace, -1) !== ':' && $namespace != '') {
102102
$namespace .= ':';
103103
}
104104
self::$defaultNamespace = $namespace;

0 commit comments

Comments
 (0)
Please sign in to comment.