BUG : dblayer : allow to create more than one foreign key

git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1808 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
2014-09-10 14:41:22 +00:00
parent effbc9f4a8
commit b496dadc62

View File

@@ -830,8 +830,6 @@ class dblayer extends PDO
$k[1]."`)"; $k[1]."`)";
if (isset ($k[2])) if (isset ($k[2]))
$sql .= " ".$k[2]; $sql .= " ".$k[2];
if ($i > 0)
$sql .= ",";
$i++; $i++;
} }
$sql .=")"; $sql .=")";