mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-06 09:02:59 +01:00
Fix tabs must appears only on setup of module
This commit is contained in:
@@ -59,7 +59,7 @@ class modSocialNetworks extends DolibarrModules
|
||||
$this->dirs = array();
|
||||
|
||||
// Config pages
|
||||
$this->config_page_url = array(DOL_URL_ROOT.'/admin/dict.php?id=38');
|
||||
$this->config_page_url = array(DOL_URL_ROOT.'/admin/dict.php?id=38&from=socialnetworksetup');
|
||||
|
||||
// Dependencies
|
||||
$this->hidden = getDolGlobalInt('MODULE_SOCIALNETWORKS_DISABLED'); // A condition to hide module
|
||||
|
||||
Reference in New Issue
Block a user