Change public to show on echo/file areas to enable limiting whats shown in the activity graph

This commit is contained in:
2023-07-28 13:22:39 +10:00
parent ddb8c349b6
commit f1ccca25ea
9 changed files with 20 additions and 18 deletions

View File

@@ -21,10 +21,10 @@ class EchoareaController extends Controller
'name' => 'required|min:4|max:35|regex:/^[a-zA-Z-_~]{4,}$/|unique:echoareas,name,'.($o->exists ? $o->id : 0),
'description' => 'required',
'active' => 'required|boolean',
'public' => 'required|boolean',
'show' => 'required|boolean',
]);
foreach (['name','description','active','public','notes','domain_id'] as $key)
foreach (['name','description','active','show','notes','domain_id'] as $key)
$o->{$key} = $request->post($key);
$o->save();