2
0
forked from Wavyzz/dolibarr

FIX : in PgSQL no quote "word style" is permitted around column name

This commit is contained in:
florian HENRY
2016-08-17 10:23:23 +02:00
parent 3932a32399
commit a1323756a9

View File

@@ -1093,7 +1093,7 @@ class DoliDBPgsql extends DoliDB
*/
function DDLDropField($table,$field_name)
{
$sql= "ALTER TABLE ".$table." DROP COLUMN `".$field_name."`";
$sql= "ALTER TABLE ".$table." DROP COLUMN ".$field_name;
dol_syslog($sql,LOG_DEBUG);
if (! $this->query($sql))
{