Petites corrections pour le traitement par lots

This commit is contained in:
Michael RICOIS 2013-10-21 10:22:07 +00:00
parent 105f06bb33
commit ed092d391c

View File

@ -677,6 +677,9 @@ class Metier_Sfr
$this->rules($type);
}
//Init displayPO
$this->displayPo = 0;
return true;
}
@ -689,7 +692,7 @@ class Metier_Sfr
*/
protected function rules($type)
{
$rules = $this->{'Rules'.$type};
$rules = $this->{'Rules'.$type};
foreach ( $rules as $rule ) {
if ($this->debug) file_put_contents('sfr.log', "\nREGLE - ".$rule['name']."\n", FILE_APPEND);