Skip to content

Commit a03f00f

Browse files
authored
Merge pull request #313 from petrkotek/petrkotek-patch-1
Resque_Redis: use `&&` rather than `and`
2 parents 3c5dac8 + b054df7 commit a03f00f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Resque/Redis.php

Lines changed: 1 addition & 1 deletion
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)