Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

Commit

Permalink
Merge pull request #38 from protecinnovations/imp/sustained-prefix
Browse files Browse the repository at this point in the history
Fix issues with failed not being namespaced
  • Loading branch information
wa0x6e committed Nov 13, 2015
2 parents 16bfc6a + c8764c4 commit d1f7a33
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Resque/Redis.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ class RedisApi extends Redisent
'ttl',
'move',
'set',
'setex',
'get',
'getset',
'setnx',
Expand Down Expand Up @@ -150,7 +151,7 @@ public function prefix($namespace)
public function __call($name, $args)
{
$args = func_get_args();
if (in_array($name, $this->keyCommands)) {
if (in_array(strtolower($name), $this->keyCommands)) {
$args[1][0] = self::$defaultNamespace . $args[1][0];
}
try {
Expand Down

0 comments on commit d1f7a33

Please sign in to comment.