Skip to content

implode warning filling error log #34

@matdave

Description

@matdave

The implode statement here

$nav['pages'] = implode("\n", $nav['pages']);
is creating a warning in the error log.

[2019-02-19 10:27:39] (ERROR @ /www/core/components/getpage/include.getpage.php : 35) PHP warning: implode(): Invalid arguments passed

I'm not sure how to reproduce, but adding a validator to ensure $nav['pages'] is set stops the warning.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions