summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--admin/WebConsole/menus/menuejemplo.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/WebConsole/menus/menuejemplo.php b/admin/WebConsole/menus/menuejemplo.php
index 199b1b8c..b3fcd175 100644
--- a/admin/WebConsole/menus/menuejemplo.php
+++ b/admin/WebConsole/menus/menuejemplo.php
@@ -84,7 +84,7 @@
</dl>
<?php // Acceso a menĂº privado.
-if ($_SERVER['HTTP_X_FORWARDED_FOR']) {
+if (isset($_SERVER['HTTP_X_FORWARDED_FOR'])) {
$ip = $_SERVER['HTTP_X_FORWARDED_FOR'];
} else {
$ip = $_SERVER['REMOTE_ADDR'];