diff --git a/dev/examples/zapier/package.json b/dev/examples/zapier/package.json index 30ea4939915..8fbd203f962 100644 --- a/dev/examples/zapier/package.json +++ b/dev/examples/zapier/package.json @@ -1,10 +1,10 @@ { "name": "Dolibarr", - "version": "1.0.2", + "version": "1.0.0", "description": "An app for connecting Dolibarr to the Zapier platform.", - "repository": "frederic34/ZapierForDolibarr", - "homepage": "https://netlogic-dev.fr/", - "author": "Frédéric France ", + "repository": "Dolibarr/dolibarr", + "homepage": "https://www.dolibarr.fr/", + "author": "Frédéric France ", "license": "BSD-3-Clause", "main": "index.js", "scripts": { diff --git a/htdocs/zapier/class/hook.class.php b/htdocs/zapier/class/hook.class.php index 666e3e6df57..81b76b1c81f 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' => 'llx_user.rowid', ), 'url' => array( 'type' => 'varchar(255)',