diff --git a/htdocs/societe/document.php b/htdocs/societe/document.php index 01edf6fc420..c5af4de609c 100644 --- a/htdocs/societe/document.php +++ b/htdocs/societe/document.php @@ -1,7 +1,7 @@ * Copyright (C) 2004-2010 Laurent Destailleur - * Copyright (C) 2005-2007 Regis Houssin + * Copyright (C) 2005-2011 Regis Houssin * Copyright (C) 2010 Juanjo Menent * * This program is free software; you can redistribute it and/or modify @@ -23,7 +23,7 @@ * \file htdocs/societe/document.php * \brief Tab for documents linked to third party * \ingroup societe - * \version $Id: document.php,v 1.32 2011/07/05 16:10:56 hregis Exp $ + * \version $Id: document.php,v 1.33 2011/07/05 17:21:19 hregis Exp $ */ require("../main.inc.php"); @@ -212,7 +212,7 @@ if ($socid > 0) $formfile=new FormFile($db); - if (1==2 && $conf->global->MAIN_USE_JQUERY_FILEUPLOAD) + if ($conf->global->MAIN_USE_JQUERY_FILEUPLOAD) { $formfile->form_ajaxfileupload($object); } @@ -289,6 +289,6 @@ else $db->close(); -llxFooter('$Date: 2011/07/05 16:10:56 $ - $Revision: 1.32 $'); +llxFooter('$Date: 2011/07/05 17:21:19 $ - $Revision: 1.33 $'); ?>