Fix: error

This commit is contained in:
Laurent Destailleur 2011-02-26 02:45:20 +00:00
parent 72b607ad1c
commit f980f305e2
2 changed files with 2 additions and 2 deletions

View File

@ -3457,7 +3457,7 @@ function dol_htmloutput_mesg($mesgstring='',$mesgarray='', $style='ok')
{ {
global $langs; global $langs;
$ret = 0; $ret = '';
if (is_array($mesgarray) && sizeof($mesgarray)) if (is_array($mesgarray) && sizeof($mesgarray))
{ {

View File

@ -2225,7 +2225,7 @@ class Societe extends CommonObject
else else
{ {
// $this->error deja positionne // $this->error deja positionne
dol_syslog("Societe::create_from_member - 2 - ".$this->error, LOG_ERR); dol_syslog("Societe::create_from_member - 2 - ".$this->error." - ".join(',',$this->errors), LOG_ERR);
$this->db->rollback(); $this->db->rollback();
return $result; return $result;