@@ -19,7 +19,7 @@ |
||
| 19 | 19 | ->get(); |
| 20 | 20 | } |
| 21 | 21 | else { |
| 22 | - $tmp_devices = DB::table('devices') |
|
| 22 | + $tmp_devices = DB::table('devices') |
|
| 23 | 23 | ->select(DB::raw('DISTINCT(`devices`.`device_id`),`devices`.*')) |
| 24 | 24 | ->leftJoin('devices_perms AS DP', 'devices.device_id', '=', 'DP.device_id') |
| 25 | 25 | ->where('DP.user_id', '=', $request->user()->user_id) |