I've been using the following code to query Gravity Forms entries on a specific form:
[php]
$user_info = get_userdata( $current_user->ID );
$user_info = $user_info->user_login;
$entry_count = RGFormsModel::get_lead_count(2, $user_info);
<?php if ($entry_count > 0) { code hidden here... }; ?>
The code does not appear to discriminate between users tree and tree1 or tree2 or tree3. Is there a location in the code that I should make this explicit?