forked from Wavyzz/dolibarr
Standardize and update code
This commit is contained in:
@@ -101,9 +101,8 @@ class FormSms
|
|||||||
|
|
||||||
if (! is_object($form)) $form=new Form($this->db);
|
if (! is_object($form)) $form=new Form($this->db);
|
||||||
|
|
||||||
$langs->load("other");
|
// Load translation files required by the page
|
||||||
$langs->load("mails");
|
$langs->loadLangs(array('other', 'mails', 'sms'));
|
||||||
$langs->load("sms");
|
|
||||||
|
|
||||||
$soc=new Societe($this->db);
|
$soc=new Societe($this->db);
|
||||||
if (!empty($this->withtosocid) && $this->withtosocid > 0)
|
if (!empty($this->withtosocid) && $this->withtosocid > 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user