quelques global qui manquent

This commit is contained in:
erics 2004-09-10 21:52:52 +00:00
parent b9ebc3b4a9
commit 0d6db79024
2 changed files with 3 additions and 2 deletions

View File

@ -167,7 +167,7 @@ function factures ($db, $year, $month, $paye) {
function pt ($db, $sql, $year) {
global $bc;
global $bc, $langs;
$result = $db->query($sql);
if ($result) {
@ -238,7 +238,7 @@ function pt ($db, $sql, $year) {
function ppt ($db, $year, $socidp)
{
global $bc,$conf;
global $bc,$conf,$langs;
print "<table width=\"100%\">";
print '<tr class="liste_titre"><td align="center" valign="top" width="30%">';

View File

@ -33,6 +33,7 @@ if ($user->societe_id > 0)
function pt ($db, $sql, $title) {
global $bc;
global $langs;
print '<table class="border" width="100%" cellspacing="0" cellpadding="4">';
print '<tr class="liste_titre">';