We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi team,
It seems like there is a PHP Notice displayed on the view report page when debugging is turned on and user filter is used for the report:
Notice : Undefined offset: 1 in /var/www/site/blocks/configurable_reports/components/filters/fuserfield/plugin.class.php on line 174
As I can see preg_split() returns an array with only one element:
preg_split()
root@003b7cbe0a84:/var/www/site# cat my.php <?php var_dump(preg_split('/:/', 'Some string')); root@003b7cbe0a84:/var/www/site# php my.php array(1) { [0]=> string(11) "Some string" }
So list($field, $operator) causes PHP Notice.
list($field, $operator)
SQL used in my report:
select * from prefix_user u where 1 = 1 %%FILTER_USERS:u.firstname%% %%FILTER_USERS:u.lastname%%
Cheers, Misha
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi team,
It seems like there is a PHP Notice displayed on the view report page when debugging is turned on and user filter is used for the report:
As I can see
preg_split()
returns an array with only one element:So
list($field, $operator)
causes PHP Notice.SQL used in my report:
Cheers,
Misha
The text was updated successfully, but these errors were encountered: