Code Duplication    Length = 3-3 lines in 2 locations

main/admin/dashboard_add_users_to_user.php 2 locations

@@ 93-95 (lines=3) @@
90
            $order_clause = " ORDER BY lastname, firstname";
91
        }
92
93
        if (count($assigned_users_id) > 0) {
94
            $without_assigned_users = " AND user.user_id NOT IN(".implode(',', $assigned_users_id).")";
95
        }
96
97
        if (api_is_multiple_url_enabled()) {
98
            $sql = "SELECT user.user_id, username, lastname, firstname
@@ 360-362 (lines=3) @@
357
358
$assigned_users_id = array_keys($assigned_users_to_hrm);
359
$without_assigned_users = '';
360
if (count($assigned_users_id) > 0) {
361
	$without_assigned_users = " user.user_id NOT IN(".implode(',',$assigned_users_id).") AND ";
362
}
363
364
$search_user = '';
365
if (!empty($firstLetterUser)) {