Subversion Repositories eFlore/Applications.cel

Rev

Rev 3613 | Rev 3615 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3613 Rev 3614
Line 75... Line 75...
75
			"WHERE path = $cheminMotCleP AND name = $motCleP".
75
			"WHERE path = $cheminMotCleP AND name = $motCleP".
76
			"AND user_id = $idUtilisateurP ".
76
			"AND user_id = $idUtilisateurP ".
77
			' -- '.__FILE__.':'.__LINE__;
77
			' -- '.__FILE__.':'.__LINE__;
78
		$infosMotCle = Cel::db()->requeter($requete);
78
		$infosMotCle = Cel::db()->requeter($requete);
Line 79... Line 79...
79
 
79
 
80
		if (!empty($infosMotCle)) {
80
		if (!empty($infosMotCle) && $infosMotCle !== false) {
81
			$idMotCle = $infosMotCle[0]['id_mot_cle'];
81
			$idMotCle = $infosMotCle[0]['id_mot_cle'];
82
		} else {
82
		} else {
83
			$idMotCle = $this->insererParChemin($mot_cle, $chemin_parent, $user_id);
83
			$idMotCle = $this->insererParChemin($mot_cle, $chemin_parent, $user_id);
84
		}
84
		}