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,7 +53,9 @@ trait LabsSettings {
if($profile->is_suggestable == false) {
$profile->is_suggestable = true;
$changes = true;
SuggestionService::set($profile->id);
if($profile->statuses->count() > 0) {
SuggestionService::set($profile->id);
}
}
} else {
$profile->is_suggestable = false;