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

Doc: Doxygen

parent c0a5a7cb
No related branches found
No related tags found
No related merge requests found
<?php <?php
/* Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org> /* Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004 ric Seigne <eric.seigne@ryxeo.com> * Copyright (C) 2004 Eric Seigne <eric.seigne@ryxeo.com>
* Copyright (C) 2005-2007 Laurent Destailleur <eldy@users.sourceforge.net> * Copyright (C) 2005-2008 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2005-2007 Regis Houssin <regis@dolibarr.fr> * Copyright (C) 2005-2007 Regis Houssin <regis@dolibarr.fr>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
...@@ -17,15 +17,13 @@ ...@@ -17,15 +17,13 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* $Id$
*/ */
/** /**
\file htdocs/admin/societe.php \file htdocs/admin/societe.php
\ingroup propale \ingroup company
\brief Page d'administration/configuration du module Societe \brief Page d'administration/configuration du module Societe
\version $Revision$ \version $Id$
*/ */
require("./pre.inc.php"); require("./pre.inc.php");
...@@ -42,7 +40,7 @@ if (!$user->admin) ...@@ -42,7 +40,7 @@ if (!$user->admin)
*/ */
if ($_GET["action"] == 'setcodeclient') if ($_GET["action"] == 'setcodeclient')
{ {
if (dolibarr_set_const($db, "SOCIETE_CODECLIENT_ADDON",$_GET["value"])) if (dolibarr_set_const($db, "SOCIETE_CODECLIENT_ADDON",$_GET["value"]) > 0)
{ {
Header("Location: ".$_SERVER["PHP_SELF"]); Header("Location: ".$_SERVER["PHP_SELF"]);
exit; exit;
...@@ -55,7 +53,7 @@ if ($_GET["action"] == 'setcodeclient') ...@@ -55,7 +53,7 @@ if ($_GET["action"] == 'setcodeclient')
if ($_GET["action"] == 'setcodecompta') if ($_GET["action"] == 'setcodecompta')
{ {
if (dolibarr_set_const($db, "SOCIETE_CODECOMPTA_ADDON",$_GET["value"])) if (dolibarr_set_const($db, "SOCIETE_CODECOMPTA_ADDON",$_GET["value"]) > 0)
{ {
Header("Location: ".$_SERVER["PHP_SELF"]); Header("Location: ".$_SERVER["PHP_SELF"]);
exit; exit;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment