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

@@ -553,7 +553,8 @@ class ExtraFields
*/
public function update($attrname, $label, $type, $length, $elementtype, $unique = 0, $required = 0, $pos = 0, $param = '', $alwayseditable = 0, $perms = '', $list = '', $help = '', $default = '', $computed = '', $entity = '', $langfile = '', $enabled = '1', $totalizable = 0, $printable = 0, $moreparams = array())
{
global $hookmanager, $action;
global $hookmanager;
global $action;
if ($elementtype == 'thirdparty') {
$elementtype = 'societe';