Fix: header already sent

This commit is contained in:
Laurent Destailleur 2013-08-24 22:09:32 +02:00
parent 75bd05d212
commit 6d2c27beec

View File

@ -3169,7 +3169,7 @@ abstract class CommonObject
global $langs, $conf, $user;
if (! empty($user->societe_id)) return;
if (! $user->rights->margins->liretous) return;
$marginInfo = $this->getMarginInfos($force_price);
@ -3223,5 +3223,4 @@ abstract class CommonObject
print '</table>';
}
}
?>
?>