Skip to content

Commit

Permalink
Fix migration script
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Feb 27, 2024
1 parent a6c2bd6 commit 55344b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/modules/modSellYourSaas.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -893,7 +893,7 @@ public function init($options = '')
$resultx=$extrafields->addExtraField('ippublicmain', "IPPublicMain", 'varchar', 105, '255', 'user', 0, 0, '', '', 1, '', 1, 'IPPublicMainDesc', '', '', 'sellyoursaas@sellyoursaas', 'isModEnabled("sellyoursaas")');

// Routine to transform SUB_DOMAIN_NAMES and SUB_DOMAIN_IP constants into object
if ($resultx > 0 && !getDolGlobalString('SELLYOURSAAS_OBJECT_DEPLOYMENT_SERVER_MIGRATION')) {
if (!getDolGlobalString('SELLYOURSAAS_OBJECT_DEPLOYMENT_SERVER_MIGRATION')) {
$errors = 0;
$now = dol_now();
$listofdomains = explode(',', getDolGlobalString('SELLYOURSAAS_SUB_DOMAIN_NAMES'));
Expand Down

0 comments on commit 55344b4

Please sign in to comment.