Explorar el Código

Fixed typo in event_open()

Yannick Warnier hace 12 años
padre
commit
0edbbbecec
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      main/inc/lib/events.lib.inc.php

+ 1 - 1
main/inc/lib/events.lib.inc.php

@@ -37,7 +37,7 @@ function event_open() {
     // @getHostByAddr($_SERVER['REMOTE_ADDR']) : will provide host and country information
     // $_SERVER['HTTP_USER_AGENT'] :  will provide browser and os information
     // $_SERVER['HTTP_REFERER'] : provide information about refering url
-    if(isset($_SERVER['HTT_REFERER']))
+    if(isset($_SERVER['HTTP_REFERER']))
     {
         $referer = Database::escape_string($_SERVER['HTTP_REFERER']);
     } else {