Further enhancement with #9063a2a - to ensure our message addressing and content picks the right address
This commit is contained in:
@@ -833,12 +833,11 @@ class SystemController extends Controller
|
||||
if (! $request->system_id)
|
||||
return redirect('user/system/register');
|
||||
|
||||
$s = Setup::findOrFail(config('app.id'))->system;
|
||||
$so = System::findOrFail($request->system_id);
|
||||
|
||||
$ca = NULL;
|
||||
$la = NULL;
|
||||
foreach ($s->akas as $ao) {
|
||||
foreach (our_address() as $ao) {
|
||||
if (($ca=$so->match($ao->zone))->count())
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user