Skip to content
Snippets Groups Projects
Commit c3c3c510 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Comment

parent 1e4a024d
Branches
Tags
No related merge requests found
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
* \file htdocs/societe/document.php * \file htdocs/societe/document.php
* \brief Tab for documents linked to third party * \brief Tab for documents linked to third party
* \ingroup societe * \ingroup societe
* \version $Id: document.php,v 1.35 2011/07/06 09:25:06 eldy Exp $ * \version $Id: document.php,v 1.36 2011/07/06 18:20:49 eldy Exp $
*/ */
require("../main.inc.php"); require("../main.inc.php");
...@@ -70,7 +70,7 @@ $object = new Societe($db); ...@@ -70,7 +70,7 @@ $object = new Societe($db);
* Actions * Actions
*/ */
// Envoie fichier // Post file
if ( $_POST["sendit"] && ! empty($conf->global->MAIN_UPLOAD_DOC)) if ( $_POST["sendit"] && ! empty($conf->global->MAIN_UPLOAD_DOC))
{ {
if ($object->fetch($socid)) if ($object->fetch($socid))
...@@ -112,7 +112,7 @@ if ( $_POST["sendit"] && ! empty($conf->global->MAIN_UPLOAD_DOC)) ...@@ -112,7 +112,7 @@ if ( $_POST["sendit"] && ! empty($conf->global->MAIN_UPLOAD_DOC))
} }
} }
// Suppression fichier // Delete file
if ($action == 'confirm_deletefile' && $confirm == 'yes') if ($action == 'confirm_deletefile' && $confirm == 'yes')
{ {
if ($object->fetch($socid)) if ($object->fetch($socid))
...@@ -241,6 +241,6 @@ else ...@@ -241,6 +241,6 @@ else
$db->close(); $db->close();
llxFooter('$Date: 2011/07/06 09:25:06 $ - $Revision: 1.35 $'); llxFooter('$Date: 2011/07/06 18:20:49 $ - $Revision: 1.36 $');
?> ?>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment