Explorar o código

Fixed typo in event_open()

Yannick Warnier %!s(int64=12) %!d(string=hai) anos
pai
achega
0edbbbecec
Modificáronse 1 ficheiros con 1 adicións e 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 {