Update LabsSettings controller

This commit is contained in:
Daniel Supernault 2019-05-12 22:19:18 -06:00
parent 15b7442ca1
commit 32c0019209
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -53,8 +53,10 @@ trait LabsSettings {
if($profile->is_suggestable == false) { if($profile->is_suggestable == false) {
$profile->is_suggestable = true; $profile->is_suggestable = true;
$changes = true; $changes = true;
if($profile->statuses->count() > 0) {
SuggestionService::set($profile->id); SuggestionService::set($profile->id);
} }
}
} else { } else {
$profile->is_suggestable = false; $profile->is_suggestable = false;
$changes = true; $changes = true;