mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-07 16:41:48 +01:00
Prefix en dur "llx_" remplac par constante "MAIN_DB_PREFIX".
This commit is contained in:
@@ -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);
|
||||
}
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user