2
0
forked from Wavyzz/dolibarr
This commit is contained in:
Laurent Destailleur
2009-07-29 22:59:18 +00:00
parent 051f4e2983
commit 4e8b96e405
7 changed files with 49 additions and 53 deletions

View File

@@ -538,9 +538,9 @@ class DoliDb
/**
* \brief Convert (by PHP) a PHP server TZ string date into a GM Timestamps date
* \param string Date in a string (YYYYMMDDHHMMSS, YYYYMMDD, YYYY-MM-DD HH:MM:SS)
* 19700101020000 -> 3600 with TZ+1
* \param string Date in a string (YYYYMMDDHHMMSS, YYYYMMDD, YYYY-MM-DD HH:MM:SS)
* \return date Date TMS
* \example 19700101020000 -> 3600 with TZ+1
*/
function jdate($string)
{
@@ -794,7 +794,7 @@ class DoliDb
}
return $listtables;
}
/**
* \brief Liste les informations des champs d'une table.
* \param table Nom de la table
@@ -805,7 +805,7 @@ class DoliDb
$infotables=array();
$sql="SHOW FULL COLUMNS FROM ".$table.";";
dol_syslog($sql,LOG_DEBUG);
$result = $this->query($sql);
while($row = $this->fetch_row($result))