Bonjour,

alors voila j'ai un problème avec mon site:

lorsque j'y accède vie l'adresse [http://monsite.com] aucun problème tout fonctionne, mais parfois lorsque j'y accède via [http://www.monsite.com] la j'obtiens une erreur sql. Je relance mon navigateur et tout rentre dans l'ordre.

Voici l'erreur:
Database error: Invalid SQL: select C_Slogan from tbl_site_info where FK_LangID=
MySQL Error: 1064 (You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1)
Session halted.
et voici la requete:
$lang=$Lang->current_lang();

$Slogan = $db->sql_get_first("select C_Slogan from tbl_site_info where FK_LangID= ".$lang);
Merci d'avance