Browse Source

zapier for dolibarr

Frédéric FRANCE 6 years ago
parent
commit
872800f604
2 changed files with 7 additions and 1 deletions
  1. 6 0
      .tx/config
  2. 1 1
      htdocs/zapier/class/hook.class.php

+ 6 - 0
.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/<lang>/zapier.lang
+source_file = htdocs/langs/en_US/zapier.lang
+source_lang = en_US
+type = MOZILLAPROPERTIES
+

+ 1 - 1
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)',