2
0
forked from Wavyzz/dolibarr

Fix: Enregistrement en base date < 1940

New: Ajout permission "modifier ses propres infos adhrents"
This commit is contained in:
Laurent Destailleur
2008-01-25 17:40:07 +00:00
parent 6ef1ab52b2
commit dc3128e489
10 changed files with 217 additions and 158 deletions

View File

@@ -1,7 +1,7 @@
<?php
/* Copyright (C) 2001 Fabien Seisen <seisen@linuxfr.org>
* Copyright (C) 2002-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004-2007 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2004-2008 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2004 Sebastien Di Cintio <sdicintio@ressource-toi.org>
* Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
*
@@ -18,21 +18,25 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* $Id$
*/
/**
\file htdocs/lib/databases/pgsql.lib.php
\brief Fichier de la classe permettant de g<>r<EFBFBD>r une base pgsql
\version $Id$
*/
// Pour compatibilit<69> lors de l'upgrade
if (! defined('DOL_DOCUMENT_ROOT'))
{
define('DOL_DOCUMENT_ROOT', '../..');
}
include_once(DOL_DOCUMENT_ROOT."/includes/adodbtime/adodb-time.inc.php");
/**
\class DoliDb
\brief Classe permettant de g<>r<EFBFBD>r la database de dolibarr
*/
class DoliDb
{
var $db; // Handler de base
@@ -475,7 +479,7 @@ class DoliDb
*/
function idate($param)
{
return strftime("%Y%m%d%H%M%S",$param);
return adodb_strftime("%Y%m%d%H%M%S",$param);
}