Update input.php

i was seeing many errors in my server logs relating to the $value variable not being an array: in_array($entity->guid, $value),

i have added the line: $value = array($value);
to resolve this.