summaryrefslogtreecommitdiff
path: root/appli_3_alpha_old/include/je.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'appli_3_alpha_old/include/je.inc.php')
-rw-r--r--appli_3_alpha_old/include/je.inc.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/appli_3_alpha_old/include/je.inc.php b/appli_3_alpha_old/include/je.inc.php
index b5a7672..08861d5 100644
--- a/appli_3_alpha_old/include/je.inc.php
+++ b/appli_3_alpha_old/include/je.inc.php
@@ -103,7 +103,8 @@ require_once ('include/connect.inc.php');
else
{
$result = mysql_query("INSERT INTO Personne (courrielP,loginP) VALUES ('$persMail','$persMail')");
- return (mysql_insert_id($result));
+ //return (mysql_insert_id($result));
+ return (mysql_insert_id());
}
return (0);
@@ -125,7 +126,7 @@ require_once ('include/connect.inc.php');
echo "<tr>\n<td>";
if ($row['estPrivee'] == 'oui') echo 'Priv&eacute;e' ; else echo 'Public';
echo "</td>\n<td>";
- echo "<a href=\"#\" onclick=\"loadid('poppersonne.php?idL=".$row['idL']."&amp;idP_orga=$idP','poppersonne',true);popon('poppersonne')\">";
+ echo "<a href=\"#\" onclick=\"loadid('poppersonne.php?idR=2&amp;idL=".$row['idL']."&amp;idP_orga=$idP','poppersonne',true);popon('poppersonne')\">";
echo $row['libelleL'];
echo "</a>\n";
echo "</td>\n</tr>\n";