diff options
Diffstat (limited to 'beta_old1/app/include/ical.inc.php')
-rw-r--r-- | beta_old1/app/include/ical.inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/beta_old1/app/include/ical.inc.php b/beta_old1/app/include/ical.inc.php index e79570b..0d858e3 100644 --- a/beta_old1/app/include/ical.inc.php +++ b/beta_old1/app/include/ical.inc.php @@ -11,7 +11,7 @@ define("ERR_ICAL_SQL_ERROR", -2); { require_once('connect.inc.php'); $query = 'SELECT DISTINCT R.idR,R.objetR,P.courrielP,UNIX_TIMESTAMP(C.dateHeure),C.duree,R.lieuR,R.ordreJourR,L.idL' - . ' FROM Liste L,Reunion R,Appartenir A,Creneau C,Personne P' + . ' FROM AWOR_Liste L,AWOR_Reunion R,AWOR_Appartenir A,AWOR_Creneau C,AWOR_Personne P' . " WHERE ((A.idP = $idP AND A.idL = L.idL) OR R.idP_Orga = $idP)" . ' AND R.idL = L.idL AND C.idC = R.idC_Fixe AND P.idP = R.idP_Orga' . ' AND C.dateHeure > NOW() '; @@ -41,7 +41,7 @@ define("ERR_ICAL_SQL_ERROR", -2); $iCal_content .= "LOCATION:$lieuR\r\n"; $iCal_content .= "DESCRIPTION:$ordreJourR\r\n"; - $query = 'SELECT P.courrielP FROM Appartenir A,Personne P' . " WHERE A.idP=P.idP AND A.idL='$idL'"; + $query = 'SELECT P.courrielP FROM AWOR_Appartenir A,AWOR_Personne P' . " WHERE A.idP=P.idP AND A.idL='$idL'"; if ( ! $result = mysql_query($query) ) { // Cas d'erreur |