Skip to content

Commit

Permalink
fix: compatibilità modulo gestione sms
Browse files Browse the repository at this point in the history
  • Loading branch information
Pek5892 committed Nov 22, 2024
1 parent 4b12da8 commit a9a2acf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/HTMLBuilder/Manager/ButtonManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ protected function getList($options)
$query->orderBy('title');
}])->get()->toArray();
} elseif ($options['type'] == 'sms') {
$results = TemplateSMS::where('id_module', $options['id_module'])->orderBy('title')->get()->toArray();
$results = TemplateSMS::where('id_module', $options['id_module'])->orderBy('name')->get()->toArray();
}

return $results;
Expand Down

0 comments on commit a9a2acf

Please sign in to comment.