Code
- _elgg_admin_page_handler()
- _elgg_admin_markdown_page_handler()
- elgg_get_admins()
- _elgg_admin_page_menu_plugin_settings()
- elgg_get_admin_notices()
- _elgg_create_notice_of_pending_upgrade()
- _elgg_robots_page_handler()
- _elgg_admin_footer_menu()
- _elgg_admin_get_user_subscriber_admin_action()
- elgg_delete_admin_notice()
- _elgg_phpinfo_page_handler()
- _elgg_admin_maintenance_handler()
- _elgg_add_admin_widgets()
- elgg_add_admin_notice()
- _elgg_ajax_plugins_update()
- elgg_admin_notice_exists()
- _elgg_admin_maintenance_allow_url()
- _elgg_admin_maintenance_action_check()
- _elgg_admin_page_menu()
- _elgg_admin_get_admin_subscribers_admin_action()
- _elgg_admin_header_menu()
- _elgg_admin_init()
- _elgg_admin_prepare_admin_notification_make_admin()
- _elgg_admin_prepare_user_notification_remove_admin()
- _elgg_admin_prepare_admin_notification_remove_admin()
- _elgg_admin_prepare_user_notification_make_admin()
This check marks implicit conversions of arrays to boolean values in a comparison. While in PHP an empty array is considered to be equal (but not identical) to false, this is not always apparent.
Consider making the comparison explicit by using
empty(..)
or! empty(...)
instead.