mirror of
https://github.com/idanoo/php-resque
synced 2025-07-01 13:42:22 +00:00
Resolves chrisboulton/php-resque#145
This commit is contained in:
parent
a8322cd4e7
commit
5aed917f72
2 changed files with 17 additions and 3 deletions
|
@ -98,7 +98,7 @@ class Resque_Redis
|
|||
*/
|
||||
public static function prefix($namespace)
|
||||
{
|
||||
if (strpos($namespace, ':') === false) {
|
||||
if (substr($namespace, -1) !== ':') {
|
||||
$namespace .= ':';
|
||||
}
|
||||
self::$defaultNamespace = $namespace;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue