Commit 55852d10 authored by Feu's avatar Feu
Browse files

mini-optimisation (pour les gens pas connectes)

parent 8bced633
......@@ -544,11 +544,11 @@ class utilisateur extends stdentity
*/
function load_groups ()
{
$this->groupes = array();
if ( !$this->is_valid() )
return;
$this->groupes = array();
$req = new requete($this->db,
"SELECT `groupe`.`id_groupe`,`groupe`.`nom_groupe`
FROM `utl_groupe`
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment