fixed 100% also allowed with status archive

This commit is contained in:
Stefan Becker 2009-09-04 12:39:23 +00:00
parent 4e2f35d4dc
commit f85cb3c0d0

View File

@ -610,7 +610,7 @@ class infolog_bo
{
$values['info_percent'] = 100;
}
if ((int)$values['info_percent'] == 100 && !in_array($values['info_status'],array('done','billed','cancelled')))
if ((int)$values['info_percent'] == 100 && !in_array($values['info_status'],array('done','billed','cancelled','archive')))
{
//echo "check_defaults:"; _debug_array($this->status[$values['info_type']]);
//$values['info_status'] = 'done';