From 872800f604225203f018ff89c8cc89a7486ffab0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Sun, 19 May 2019 21:38:29 +0200 Subject: [PATCH] zapier for dolibarr --- .tx/config | 6 ++++++ htdocs/zapier/class/hook.class.php | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.tx/config b/.tx/config index 0044fb91f49..5c52849c29c 100644 --- a/.tx/config +++ b/.tx/config @@ -410,3 +410,9 @@ source_file = htdocs/langs/en_US/workflow.lang source_lang = en_US type = MOZILLAPROPERTIES +[dolibarr.zapier] +file_filter = htdocs/langs//zapier.lang +source_file = htdocs/langs/en_US/zapier.lang +source_lang = en_US +type = MOZILLAPROPERTIES + diff --git a/htdocs/zapier/class/hook.class.php b/htdocs/zapier/class/hook.class.php index 4a3e670056e..666e3e6df57 100644 --- a/htdocs/zapier/class/hook.class.php +++ b/htdocs/zapier/class/hook.class.php @@ -111,7 +111,7 @@ class Hook extends CommonObject 'visible' => -2, 'notnull' => 1, 'position' => 510, - 'foreignkey' => MAIN_DB_PREFIX.'user.rowid', + 'foreignkey' => (MAIN_DB_PREFIX.'user.rowid'), ), 'url' => array( 'type' => 'varchar(255)',