memcache/memcache.inc
Line in question

    $key_length = isset($wildcard_flushes[$table]) ? strlen(reset(array_keys($wildcard_flushes[$table]))) : $length;

Comments

mikeytown2’s picture

Status: Active » Needs review
StatusFileSize
new1.33 KB
catch’s picture

Status: Needs review » Fixed

Thanks! Committed and pushed.

das-peter’s picture

Status: Fixed » Needs review
StatusFileSize
new759 bytes

@catch: sorry for the duplicate in #1131370-15: Segment wildcard counts by $string[0] - I forgot do to a pull first d'oh!

Looks like I've found a follow up to this issue - there's another location where reset() is used with a function return: line 299 in memcache.inc

catch’s picture

Status: Needs review » Fixed

Thanks, committed and pushed!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.