diff --git a/CONTRIBUTORS b/CONTRIBUTORS index fddae1f2b64..9971ef26cd9 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -52,4 +52,5 @@ Matthew Fitzgerald @mfitzgerald2 Simon Van Accoleyen @SimonVanacco Michael Bianco Ben Fesili @benfes -Markus Dick @markusdick \ No newline at end of file +Markus Dick @markusdick +Dung Nguyen @nhymxu diff --git a/app/Http/Controllers/ContactsController.php b/app/Http/Controllers/ContactsController.php index 98c54aa55f8..1ac218eb091 100644 --- a/app/Http/Controllers/ContactsController.php +++ b/app/Http/Controllers/ContactsController.php @@ -100,6 +100,10 @@ private function contacts(Request $request, bool $active) return 'tags[]='.urlencode($tag->name); })->join('&'); + if ('' !== $url) { + $url .= '&'; + } + if ($tags->count() === 0) { return redirect()->route('people.index'); } else {