debug
This commit is contained in:
parent
5c8a4f9e80
commit
3889612951
@ -117,7 +117,7 @@ class dbcore
|
||||
{
|
||||
$query = "SELECT * FROM liste_votations";
|
||||
$this->query($query);
|
||||
$votationLine = $this->result->fetch_all(MSQLI_ASSOC);
|
||||
$votationLine = $this->result->fetch_all(MYSQLI_ASSOC);
|
||||
foreach ($votationLine as $line)
|
||||
{
|
||||
$votationList[$line["id"]] = $line;
|
||||
@ -137,7 +137,7 @@ class dbcore
|
||||
{
|
||||
$query = "SELECT * FROM liste_votes WHERE idVotation = " . idVotation;
|
||||
$this->query($query);
|
||||
$votes = $this->result->fetch_all(MSQLI_ASSOC);
|
||||
$votes = $this->result->fetch_all(MYSQLI_ASSOC);
|
||||
foreach ($votes as $line)
|
||||
{
|
||||
$votesList[$line["id"]] = $line;
|
||||
@ -157,7 +157,7 @@ class dbcore
|
||||
{
|
||||
$query = "SELECT id, lv.libelle, ms.libelle as methode FROM liste_votes as lv LEFT JOIN methods as ms ON lv.methode=ms.id WHERE idVotation='" . $idVotation . "'";
|
||||
$this->query($query);
|
||||
$votes = $this->result->fetch_all(MSQLI_ASSOC);
|
||||
$votes = $this->result->fetch_all(MYSQLI_ASSOC);
|
||||
return $votes;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user