Prefix en dur "llx_" remplac par constante "MAIN_DB_PREFIX".

This commit is contained in:
Laurent Destailleur
2004-02-01 01:50:21 +00:00
parent 787a6daa11
commit eb121182a9
45 changed files with 268 additions and 268 deletions

View File

@@ -22,7 +22,7 @@
require("./pre.inc.php");
if ($HTTP_POST_VARS["action"] == 'add') {
$sql = "UPDATE llx_societe SET note='$note' WHERE idp=$socid";
$sql = "UPDATE ".MAIN_DB_PREFIX."societe SET note='$note' WHERE idp=$socid";
$result = $db->query($sql);
}
/*