瀏覽代碼

fix for message list link coming from search.php Venge Lokalsound

jmunro 23 年之前
父節點
當前提交
9081f23ff5
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/read_body.php

+ 3 - 3
src/read_body.php

@@ -605,10 +605,10 @@ echo '<BR>' .
      '<A HREF="' . $base_uri . 'src/';
 
 if ($where && $what) {
-    if( $pos == '' ) {
-        $pos = 0;
+    if ($pos == '') {
+        $pos=0;
     }
-    echo "search.php?where$pos=".urlencode($where)."&amp;pos=$pos&amp;what$pos=".urlencode($what)."&amp;mailbox=$urlMailbox\">";
+    echo "search.php?where=".urlencode($where)."&amp;pos=$pos&amp;what=".urlencode($what)."&amp;mailbox=$urlMailbox\">";
 } else {
     echo "right_main.php?sort=$sort&amp;startMessage=$startMessage&amp;mailbox=$urlMailbox\">";
 }