Skip to content

Commit

Permalink
Convert integers to boolean in exists().
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Jul 4, 2016
1 parent 767417b commit c86adf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/HashTable/lib/Horde/HashTable/Predis.php
Expand Up @@ -96,7 +96,7 @@ protected function _exists($keys)
$pipeline->exists($val);
}

return array_combine($keys, $pipeline->execute());
return array_combine($keys, array_map('boolval', $pipeline->execute()));
}

/**
Expand Down

0 comments on commit c86adf5

Please sign in to comment.