Subversion Repositories Applications.projet

Compare Revisions

Ignore whitespace Rev 396 → Rev 397

/trunk/classes/projet_type.class.php
92,7 → 92,7
*/
function getLabelType( $id_type)
{
$requete = 'select pt_label_type from projet_type where pt_id_type='.$id_type ;
$requete = 'select pt_label_type from projet_type where pt_id_type='.$this->_db->escapeSimple($id_type) ;
$resultat = $this->_db->getOne($requete) ;
if (DB::isError($resultat)) {
echo $resultat->getMessage() ;