Commit 67da4a18 authored by Jeremy's avatar Jeremy

Issue #1305696 by Jeremy: Invalid cache id received in memcache.inc wildcards() of type integer

parent 0634fc47
......@@ -380,7 +380,7 @@ class MemCacheDrupal implements DrupalCacheInterface {
static $wildcards = array();
$matching = array();
if (!is_string($cid)) {
if (!is_string($cid) && !is_int($cid)) {
register_shutdown_function('watchdog', 'memcache', 'Invalid cache id received in memcache.inc wildcards() of type !type.', array('!type' => gettype($cid)), WATCHDOG_ERROR);
return $matching;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment