Subversion Repositories eFlore/Applications.cel

Compare Revisions

Ignore whitespace Rev 2067 → Rev 2068

/trunk/scripts/modules/migrationmotscles/bibliotheque/Dao.php
34,10 → 34,10
if($this->mode == 'obs') {
$requete_arbre = "SELECT id_mot_cle_obs as id_mot_cle, ce_mot_cle_obs_parent as parent, id_utilisateur, mot_cle ".
"FROM cel_mots_cles_obs WHERE niveau != 0 AND id_utilisateur != "" ORDER BY id_utilisateur, niveau";
"FROM cel_mots_cles_obs WHERE niveau != 0 AND id_utilisateur != '' ORDER BY id_utilisateur, niveau";
} else {
$requete_arbre = "SELECT id_mot_cle_image as id_mot_cle, ce_mot_cle_image_parent as parent, id_utilisateur, mot_cle ".
"FROM cel_mots_cles_images WHERE niveau != 0 AND id_utilisateur != "" ORDER BY id_utilisateur, niveau";
"FROM cel_mots_cles_images WHERE niveau != 0 AND id_utilisateur != '' ORDER BY id_utilisateur, niveau";
}
 
$mots_cles = $this->recupererTous($requete_arbre);