From 8b7f40e15bb64ad97d78c75142acc339ccdd0540 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Tue, 6 Feb 2018 19:29:16 +0100 Subject: [PATCH] Fix: wrong id name --- htdocs/user/class/usergroup.class.php | 12 ++++++------ htdocs/user/group/index.php | 10 +++++----- htdocs/user/home.php | 6 +++--- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/htdocs/user/class/usergroup.class.php b/htdocs/user/class/usergroup.class.php index 1c9ede28d9497..efb0beceafd32 100644 --- a/htdocs/user/class/usergroup.class.php +++ b/htdocs/user/class/usergroup.class.php @@ -1,10 +1,10 @@ - * Copyright (c) 2005-2013 Laurent Destailleur - * Copyright (c) 2005-2012 Regis Houssin - * Copyright (C) 2012 Florian Henry - * Copyright (C) 2014 Juanjo Menent - * Copyright (C) 2014 Alexis Algoud +/* Copyright (c) 2005 Rodolphe Quiedeville + * Copyright (c) 2005-2018 Laurent Destailleur + * Copyright (c) 2005-2018 Regis Houssin + * Copyright (C) 2012 Florian Henry + * Copyright (C) 2014 Juanjo Menent + * Copyright (C) 2014 Alexis Algoud * * 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 diff --git a/htdocs/user/group/index.php b/htdocs/user/group/index.php index 0fcd2af98f20d..284a7fb289abf 100644 --- a/htdocs/user/group/index.php +++ b/htdocs/user/group/index.php @@ -1,8 +1,8 @@ - * Copyright (C) 2004-2011 Laurent Destailleur - * Copyright (C) 2005-2017 Regis Houssin - * Copyright (C) 2011 Herve Prot +/* Copyright (C) 2002-2003 Rodolphe Quiedeville + * Copyright (C) 2004-2018 Laurent Destailleur + * Copyright (C) 2005-2018 Regis Houssin + * Copyright (C) 2011 Herve Prot * * 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 @@ -181,7 +181,7 @@ { $obj = $db->fetch_object($resql); - $grouptemp->id = $obj->id; + $grouptemp->id = $obj->rowid; $grouptemp->name = $obj->name; $grouptemp->note = $obj->note; diff --git a/htdocs/user/home.php b/htdocs/user/home.php index 620954553fbfe..6600d26200294 100644 --- a/htdocs/user/home.php +++ b/htdocs/user/home.php @@ -1,6 +1,6 @@ - * Copyright (C) 2005-2015 Regis Houssin +/* Copyright (C) 2005-2018 Laurent Destailleur + * Copyright (C) 2005-2018 Regis Houssin * * 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 @@ -240,7 +240,7 @@ { $obj = $db->fetch_object($resql); - $grouptemp->id = $obj->id; + $grouptemp->id = $obj->rowid; $grouptemp->name = $obj->name; $grouptemp->note = $obj->note;