PHP warning for non-numeric token info arguments.

Created on 4 February 2022, over 2 years ago

Problem/Motivation

If the token info argument (in get_token_value) is non-numeric, and $view->field[$arg] is not set, the module produces a PHP warning.

Steps to reproduce

Create a view that has a non-numeric token argument that is not in the view's field array.

Proposed resolution

Add an is_numeric check to line 542 of views_field_view_handler_field_view.inc

Remaining tasks

Commit changes.

User interface changes

n/a

API changes

n/a

Data model changes

n/a

πŸ› Bug report
Status

Active

Version

1.2

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada Dave Bagler

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.69.0 2024