diff --git a/htdocs/soc.php b/htdocs/soc.php index 8b44fed1eb3..c81de4de6a4 100644 --- a/htdocs/soc.php +++ b/htdocs/soc.php @@ -171,7 +171,10 @@ if ($_GET["action"] == 'create' || $_POST["action"] == 'create') print ''; } - include("./soc.js.php"); + if ($conf->global->MAIN_AUTO_FILLTOWNFROMZIP) + { + include("./soc.js.php"); + } print '