Fix: syntax error

This commit is contained in:
Laurent Destailleur 2013-04-13 15:09:57 +02:00
parent 6e495bfbe1
commit 473fbf2c33
6 changed files with 3 additions and 3 deletions

View File

@ -76,8 +76,8 @@ if (isset($_POST["boutonp"]) || isset($_POST["boutonp_x"]))
// Check if vote already exists
$sql = 'SELECT id_users, nom';
$sql.= ' FROM '.MAIN_DB_PREFIX."opensurvey_user_studs';
$sql.= ' WHERE id_sondage='".$db->escape($numsondage)."' AND nom = '".$db->escape($nom)."'";
$sql.= ' FROM '.MAIN_DB_PREFIX.'opensurvey_user_studs';
$sql.= " WHERE id_sondage='".$db->escape($numsondage)."' AND nom = '".$db->escape($nom)."'";
$sql.= ' ORDER BY id_users';
$resql = $db->query($sql);
$num_rows = $db->num_rows($resql);
@ -211,7 +211,7 @@ if (isset($_POST["ajoutercolonne"]) && ($object->format == "D" || $object->forma
$cleinsertion = count($datesbase);
} else {
$nbdatesbase=count($datesbase);
for ($i = 0; $i < $nbdatesbase; $i++)
for ($i = 0; $i < $nbdatesbase; $i++)
{
$j = $i + 1;
if ($nouvelledate > $datesbase[$i] && $nouvelledate < $datesbase[$j]) {

Binary file not shown.

After

Width:  |  Height:  |  Size: 828 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 828 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 828 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 828 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 828 B