diff --git a/htdocs/admin/const.php b/htdocs/admin/const.php index 2d429dda160..2cdfacb5be1 100644 --- a/htdocs/admin/const.php +++ b/htdocs/admin/const.php @@ -1,6 +1,6 @@ - * Copyright (C) 2004 Laurent Destailleur +/* Copyright (C) 2003 Rodolphe Quiedeville + * Copyright (C) 2004-2005 Laurent Destailleur * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -20,7 +20,8 @@ * $Source$ */ -/*! \file htdocs/admin/const.php +/** + \file htdocs/admin/const.php \ingroup setup \brief Page d'administration/configuration des constantes autres \version $Revision$ @@ -109,7 +110,7 @@ if ($all==1){ $result = $db->query($sql); if ($result) { - $num = $db->num_rows(); + $num = $db->num_rows($result); $i = 0; $var=True;