ms_has_membership is bugged return nothing if we don't pass any ids

hi,

when we don't pass any parameter to the function ms_has_membership(), we don't have any return value. it works fine when we pass 0 as parameter. Or the ms_has_membership() function comment says that the parameter is optionnal, but it doesn't work without.

Best regards