Fix var not declared
This commit is contained in:
parent
3430a88c72
commit
f65ce1d5d0
@ -309,13 +309,10 @@ else
|
||||
$formsms->withfromreadonly=0;
|
||||
$formsms->withsubstit=0;
|
||||
$formsms->withfrom=1;
|
||||
$formsms->witherrorsto=1;
|
||||
$formsms->withto=(isset($_POST['sendto'])?$_POST['sendto']:$user->user_mobile?$user->user_mobile:1);
|
||||
$formsms->withfile=2;
|
||||
$formsms->withbody=(isset($_POST['message'])?(empty($_POST['message'])?1:$_POST['message']):$langs->trans("ThisIsATestMessage"));
|
||||
$formsms->withbodyreadonly=0;
|
||||
$formsms->withcancel=1;
|
||||
$formsms->withfckeditor=0;
|
||||
// Tableau des substitutions
|
||||
$formsms->substit=$substitutionarrayfortest;
|
||||
// Tableau des parametres complementaires du post
|
||||
|
||||
@ -38,8 +38,10 @@ class FormSms
|
||||
*/
|
||||
public $db;
|
||||
|
||||
public $fromid;
|
||||
public $fromname;
|
||||
public $fromsms;
|
||||
public $fromtype;
|
||||
public $replytoname;
|
||||
public $replytomail;
|
||||
public $toname;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user