Browse Source

Fixed typo in event_open()

Yannick Warnier 12 năm trước cách đây
mục cha
commit
0edbbbecec
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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 {