Ignore:
Timestamp:
Jan 13, 2024 8:56:57 PM (4 months ago)
Author:
anonymous
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Utilities.inc.php

    r804 r806  
    16841684    $current_url = absoluteMe();
    16851685    $referrer_url = getenv('HTTP_REFERER');
     1686
     1687    // If either is empty, don't continue with a comparison.
     1688    if ('' == $current_url || '' == $referrer_url) {
     1689        return false;
     1690    }
    16861691
    16871692    // If one of the hostnames is an IP address, compare only the path of both.
Note: See TracChangeset for help on using the changeset viewer.