crm_screen_options() defaults to admin
-
Hi,
In /lib/class_functions.php line 2627 the default $user_filter is set to 1 by default, which is typically the ID for the admin account. It would be preferable to set this to 0 so that no data is loaded, or at least pass it through a filter to allow it to be overridden.
Thanks!
$user_filter = ( !empty($_REQUEST['user_id']) && is_numeric( $_REQUEST['user_id'] ) ) ? " object_id={$_REQUEST['user_id']} " : '0';
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘crm_screen_options() defaults to admin’ is closed to new replies.