Subversion Repositories Applications.projet

Compare Revisions

Ignore whitespace Rev 396 → Rev 397

/trunk/classes/projet_theme.class.php
92,7 → 92,7
*/
function getLabelType( $id_type)
{
$requete = 'select pt_label_theme from projet_theme where pt_id_theme='.$id_type ;
$requete = 'select pt_label_theme from projet_theme where pt_id_theme='.$this->_db->escapeSimple($id_type) ;
$resultat = $this->_db->getOne($requete) ;
if (DB::isError($resultat)) {
echo $resultat->getMessage() ;
100,4 → 100,4
return $resultat ;
}
}
?>
?>