2
0
forked from Wavyzz/dolibarr
* fix cti odt asset

* comment unused code in template

* phpdoc

* fix unreachable code

* fix unreachable code

* fix not falsy
This commit is contained in:
Frédéric FRANCE
2024-06-05 14:55:07 +02:00
committed by GitHub
parent 62593e2842
commit 74806473ab
7 changed files with 82 additions and 78 deletions

View File

@@ -2,6 +2,7 @@
<?php
/* Copyright (C) 2016 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2016 Juanjo Menent <jmenent@2byte.es>
* Copyright (C) 2024 Frédéric France <frederic.france@free.fr>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -124,7 +125,7 @@ while ($fields=fgetcsv($fhandle, $linelength, $delimiter, $enclosure, $escape))
$nboflines++;
$object = new User($db);
$object->statut = 1;
$object->status = 1;
$tmp=explode(' ', $fields[3], 2);
$object->firstname = trim($tmp[0]);