diff options
author | andi <andi@splitbrain.org> | 2005-06-17 19:50:13 +0200 |
---|---|---|
committer | andi <andi@splitbrain.org> | 2005-06-17 19:50:13 +0200 |
commit | 5c3f206fdf145109911ae769c032e557437a9121 (patch) | |
tree | a5efa32468eeed03c70c982d6e0a77e6b5e52572 /inc/common.php | |
parent | a00f13e13221d2be214ebff5b883dfc0a361638e (diff) | |
download | rpg-5c3f206fdf145109911ae769c032e557437a9121.tar.gz rpg-5c3f206fdf145109911ae769c032e557437a9121.tar.bz2 |
minor fixes
darcs-hash:20050617175013-9977f-85394cdeaca3f0b07150dcd4d6850d1f63b7d9c1.gz
Diffstat (limited to 'inc/common.php')
-rw-r--r-- | inc/common.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/inc/common.php b/inc/common.php index 3b4b38ffc..353b306e6 100644 --- a/inc/common.php +++ b/inc/common.php @@ -692,6 +692,7 @@ function getRevisions($id){ */ function getGoogleQuery(){ $url = parse_url($_SERVER['HTTP_REFERER']); + if(!$url) return ''; if(!preg_match("#google\.#i",$url['host'])) return ''; $query = array(); |