From e8be2b0a4e03b6d2bedee7841daa8c43aedc41a2 Mon Sep 17 00:00:00 2001 From: sparkyx Date: Thu, 27 Dec 2007 17:12:48 +0000 Subject: [PATCH] Fix ga_id not set --- include/class_anc_group.php | 1 + 1 file changed, 1 insertion(+) diff --git a/include/class_anc_group.php b/include/class_anc_group.php index cb0fa5fba..0befefc80 100644 --- a/include/class_anc_group.php +++ b/include/class_anc_group.php @@ -95,6 +95,7 @@ class Anc_Group { $sql=" select ga_id,ga_description from groupe_analytique"; $r=ExecSql($this->db,$sql); $array=pg_fetch_all($r); + $res=array(); if ( ! empty($array)) { foreach ($array as $m ) { $obj= new Anc_Group($this->db);