put the max of 10 analytic plan

This commit is contained in:
Dany De Bontridder 2010-12-07 22:34:48 +00:00
parent ed0690eacd
commit 3ce347c828

View file

@ -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;