Skip to content

Incorrect param type $rids in display_results functions in responses and questions #659

@sharpchi

Description

@sharpchi

The display_results functions have a variable $rids which are declared as bool when they're most often array, sometimes int.

The signature should probably be corrected to array|int and the default value an empty array.

This then makes more sense when counting how many $rids there are for $prtotal.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions