From 3ce347c8288a1ea5642e3e041c0fabc534252c8b Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Tue, 7 Dec 2010 22:34:48 +0000 Subject: [PATCH] put the max of 10 analytic plan --- include/class_anc_plan.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/class_anc_plan.php b/include/class_anc_plan.php index 76e296686..38f7d60da 100644 --- a/include/class_anc_plan.php +++ b/include/class_anc_plan.php @@ -131,7 +131,7 @@ class Anc_Plan { $count=$this->db->get_value("select count(pa_id) from plan_analytique"); - if ( $count > 4) + if ( $count > 10 ) return false; else return true;