2
0
forked from Wavyzz/dolibarr

NEW Remove hardcoded code for OVH sms. Generic method is ok now.

This commit is contained in:
Laurent Destailleur
2023-08-26 12:02:19 +02:00
parent 3199bd7137
commit 8cc3d2358b
8 changed files with 56 additions and 92 deletions

View File

@@ -1153,7 +1153,7 @@ class Form
public function select_type_of_lines($selected = '', $htmlname = 'type', $showempty = 0, $hidetext = 0, $forceall = 0)
{
// phpcs:enable
global $langs, $conf;
global $langs;
// If product & services are enabled or both disabled.
if ($forceall == 1 || (empty($forceall) && isModEnabled("product") && isModEnabled("service"))