diff --git a/inc/common.php b/inc/common.php
index 25d743e0b24dff8ac9957a9b97baf790301bbd2e..1db362f081860f5369f1675beefaccab9e39f811 100644
--- a/inc/common.php
+++ b/inc/common.php
@@ -1475,6 +1475,17 @@ function send_redirect($url){
     // always close the session
     session_write_close();
 
+    // work around IE bug
+    // http://www.ianhoar.com/2008/11/16/internet-explorer-6-and-redirected-anchor-links/
+    list($url,$hash) = explode('#',$url);
+    if($hash){
+        if(strpos($url,'?')){
+            $url = $url.'&#'.$hash;
+        }else{
+            $url = $url.'?&#'.$hash;
+        }
+    }
+
     // check if running on IIS < 6 with CGI-PHP
     if( isset($_SERVER['SERVER_SOFTWARE']) && isset($_SERVER['GATEWAY_INTERFACE']) &&
         (strpos($_SERVER['GATEWAY_INTERFACE'],'CGI') !== false) &&