Skip to content

notice in frontend on Search page (Lepton and WB) #2

@mr-fan

Description

@mr-fan

if you execute a search in the frontend you get a notice from class.tools.php

Notice: Use of undefined constant tool_error_link_row_empty - assumed 'tool_error_link_row_empty' in /var/www/xxx/html/xxx/modules/kit_event/class.tools.php

should be:
line 323
$this->error = sprintf('[%s - %s] %s', METHOD, LINE, sprintf('tool_error_link_by_page_id', $pageID));

and line 329
$this->error = sprintf('[%s - %s] %s', METHOD, LINE, sprintf('tool_error_link_row_empty', $pageID));

in original there are missing ' ' in sprintf()

regards mr-fan

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