debug
This commit is contained in:
parent
7aed48409e
commit
f8549abcf9
@ -1,6 +1,4 @@
|
|||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
require_once '../session_init.php';
|
require_once '../session_init.php';
|
||||||
require_once 'config.inc.php';
|
require_once 'config.inc.php';
|
||||||
require_once 'db.class.php';
|
require_once 'db.class.php';
|
||||||
|
@ -101,7 +101,7 @@ function votesForm($path, $libelle = "", $method = 0)
|
|||||||
$db = new db();
|
$db = new db();
|
||||||
$query = "SELECT *m FROM methods"; // clotûre
|
$query = "SELECT *m FROM methods"; // clotûre
|
||||||
$db->query($query);
|
$db->query($query);
|
||||||
$methods = $db->result::fetch_all(MYSQLI_ASSOC);
|
$methods = $db->result->fetch_all(MYSQLI_ASSOC);
|
||||||
if (!(array_key_exists($method, $methods)))
|
if (!(array_key_exists($method, $methods)))
|
||||||
{
|
{
|
||||||
print(_("L'ID de la méthode demandée n'est pas bonne " . __file__ . __LINE__));
|
print(_("L'ID de la méthode demandée n'est pas bonne " . __file__ . __LINE__));
|
||||||
|
Reference in New Issue
Block a user