Qual: Wrong variable name

This commit is contained in:
Raphaël Doursenaud 2014-04-23 11:41:49 +02:00
parent 4bf426c816
commit 284057d447

View File

@ -139,7 +139,7 @@ abstract class CommonDocGenerator
{
$object->country=$outputlangs->transnoentitiesnoconv("Country".$object->country_code);
}
if (empty($mysoc->state) && ! empty($mysoc->state_code))
if (empty($object->state) && ! empty($object->state_code))
{
$object->state=getState($object->state_code,0);
}