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