Browse Source

Merge pull request #20787 from dolibit-ut/patch-399

Update index.php
Laurent Destailleur 3 years ago
parent
commit
649e6eb3ac
1 changed files with 3 additions and 3 deletions
  1. 3 3
      htdocs/public/ticket/index.php

+ 3 - 3
htdocs/public/ticket/index.php

@@ -28,11 +28,11 @@ if (!defined('NOCSRFCHECK')) {
 if (!defined('NOREQUIREMENU')) {
 	define('NOREQUIREMENU', '1');
 }
-if (!defined("NOLOGIN")) {
-	define("NOLOGIN", '1'); // If this page is public (can be called outside logged session)
+if (!defined('NOLOGIN')) {
+	define('NOLOGIN', '1');       // If this page is public (can be called outside logged session)
 }
 if (!defined('NOIPCHECK')) {
-	define('NOIPCHECK', '1'); // Do not check IP defined into conf $dolibarr_main_restrict_ip
+	define('NOIPCHECK', '1');     // Do not check IP defined into conf $dolibarr_main_restrict_ip
 }
 if (!defined('NOBROWSERNOTIF')) {
 	define('NOBROWSERNOTIF', '1');