forked from Wavyzz/dolibarr
Prepare PHP v8 - mktime() and gmmktime() are no more allowed
This commit is contained in:
@@ -66,8 +66,9 @@ $com = new Commande($db);
|
||||
|
||||
$com->ref = 'ABCDE';
|
||||
$com->socid = 4; // Put id of third party (rowid in llx_societe table)
|
||||
$com->date_commande = mktime();
|
||||
$com->note = 'A comment';
|
||||
$com->date = dol_now();
|
||||
$com->note_public = 'A public comment';
|
||||
$com->note_private = 'A private comment';
|
||||
$com->source = 1;
|
||||
$com->remise_percent = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user