Skip to content
Snippets Groups Projects
Commit 0734b99d authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix sql syntax

parent 94353deb
No related branches found
No related tags found
No related merge requests found
......@@ -473,9 +473,9 @@ class Account extends CommonObject
if ($categorie>0) {
$sql = "INSERT INTO ".MAIN_DB_PREFIX."bank_class (";
$sql .= "lineid, fk_categ;
$sql .= "lineid, fk_categ";
$sql .= ") VALUES (";
$sql .= " ".$accline->id.", ".$categorie;
$sql .= $accline->id.", ".$categorie;
$sql .= ")";
$result = $this->db->query($sql);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment