Closed (outdated)
Project:
Sudo
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Apr 2012 at 18:42 UTC
Updated:
7 Nov 2017 at 18:31 UTC
Jump to comment: Most recent
Viewing the sudo admin page results in the following warning from php:
warning: Parameter 1 to theme_sudo_checkboxes() expected to be a reference, value given in /srv/www/drupal/includes/theme.inc on line 669.
This is because theme_sudo_checkboxes is being called via call_user_func_array, which only allows pass-by-reference if the caller explicitly notes the reference variables at call time. The result of the warning is that the theme function is not called, and the checkboxes do not render correctly. Removing the & from parameter 1 eliminates the warning and allows the checkboxes to be correctly themed.
| Comment | File | Size | Author |
|---|---|---|---|
| theme-sudo-checkboxes.patch | 381 bytes | greg.1.anderson |
Comments
Comment #1
dnotes commentedClosing 6.x issues.