Archived
ajout de la liste des votants lors de l'affichage des résultats
This commit is contained in:
1 parent
7ae8c343ab
commit
5f6807b0dd
4 files changed
+118
-9
No files matched your search
+1
-1
@@ -35,7 +35,7 @@ if ($dolibarr->result->num_rows == 0)
|
||||
{
|
||||
$dolibarr->close();
|
||||
$db = new db();
|
||||
$query = 'SELECT *, UNIX_TIMESTAMP(dateDebut) as td, UNIX_TIMESTAMP(dateFin) as tf FROM liste_votations WHERE id=' . $db->protect($idVotation);
|
||||
$query = 'SELECT *, UNIX_TIMESTAMP(dateDebut) as td, UNIX_TIMESTAMP( DATE_ADD(dateFin, INTERVAL 1 DAY)) as tf FROM liste_votations WHERE id=' . $db->protect($idVotation);
|
||||
$resultVotation = $db->query($query);
|
||||
$votation = $db->result->fetch_array();
|
||||
$now = date('Y-m-d');
|
||||
|
||||
Reference in new issue
Block a user