diff options
| author | spiderr <spider@viovio.com> | 2011-07-06 16:43:08 -0400 |
|---|---|---|
| committer | spiderr <spider@viovio.com> | 2011-07-06 16:43:08 -0400 |
| commit | ec55f28064854d3523b9c05af8a95365ea32d264 (patch) | |
| tree | fd1c695767229e99b672fe6a727219d5df0e0c09 | |
| parent | 74eff3746a8f3bedd08e02f016bcd0e51d0a2694 (diff) | |
| download | stats-ec55f28064854d3523b9c05af8a95365ea32d264.tar.gz stats-ec55f28064854d3523b9c05af8a95365ea32d264.tar.bz2 stats-ec55f28064854d3523b9c05af8a95365ea32d264.zip | |
fix NOTICE errors
| -rw-r--r-- | bit_setup_inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bit_setup_inc.php b/bit_setup_inc.php index 2d3d9a6..53e18b3 100644 --- a/bit_setup_inc.php +++ b/bit_setup_inc.php @@ -70,7 +70,7 @@ if( $gBitSystem->isPackageActive( 'stats' )) { $ret = ''; if( $urlHash = parse_url( $pRefererUrl ) ) { $ret = $urlHash['host']; - if( strpos( $urlHash['query'], 'q=' ) !== FALSE ) { + if( !empty( $urlHash['query'] ) && strpos( $urlHash['query'], 'q=' ) !== FALSE ) { parse_str( $urlHash['query'] ); if( !empty( $q ) ) { $ret .= '/...q='.$q; |
