Fix: Correction des mauvaises utilisations des fetch_objet ou on passait un paramtre jamais utilis.
This commit is contained in:
parent
4ce75b6a78
commit
ceb9a3345c
@ -42,7 +42,7 @@ if ($_GET["socidp"])
|
||||
{
|
||||
if ( $db->num_rows() )
|
||||
{
|
||||
$objsoc = $db->fetch_object(0);
|
||||
$objsoc = $db->fetch_object($result);
|
||||
}
|
||||
$db->free();
|
||||
}
|
||||
@ -219,7 +219,7 @@ if ($_GET["action"] == 'create')
|
||||
$numprojet = $db->num_rows();
|
||||
while ($i < $numprojet)
|
||||
{
|
||||
$projet = $db->fetch_object($i);
|
||||
$projet = $db->fetch_object();
|
||||
print "<option value=\"$projet->rowid\">$projet->title</option>";
|
||||
$i++;
|
||||
}
|
||||
|
||||
@ -150,7 +150,7 @@ class Fichinter
|
||||
{
|
||||
if ($this->db->num_rows())
|
||||
{
|
||||
$obj = $this->db->fetch_object(0);
|
||||
$obj = $this->db->fetch_object();
|
||||
|
||||
$this->id = $rowid;
|
||||
$this->date = $obj->di;
|
||||
|
||||
@ -82,7 +82,7 @@ if ( $db->query($sql) )
|
||||
$var=True;
|
||||
while ($i < $num)
|
||||
{
|
||||
$objp = $db->fetch_object( $i);
|
||||
$objp = $db->fetch_object();
|
||||
$var=!$var;
|
||||
print "<tr $bc[$var]>";
|
||||
print "<td><a href=\"fiche.php?id=$objp->fichid\">$objp->ref</a></td>\n";
|
||||
|
||||
@ -109,7 +109,7 @@ if ( $db->query($sql) )
|
||||
$DureeTotal = 0;
|
||||
while ($i < $num)
|
||||
{
|
||||
$objp = $db->fetch_object( $i);
|
||||
$objp = $db->fetch_object();
|
||||
$var=!$var;
|
||||
print "<tr $bc[$var]>";
|
||||
print "<td><a href=\"fiche.php?id=$objp->fichid\">$objp->ref</a></td>\n";
|
||||
|
||||
@ -227,7 +227,7 @@ class pdf_paiement {
|
||||
|
||||
while ($i < $lignes)
|
||||
{
|
||||
$objp = $this->db->fetch_object( $i);
|
||||
$objp = $this->db->fetch_object($result);
|
||||
$var=!$var;
|
||||
|
||||
$lines[$i][0] = $objp->facnumber;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user