Browse Source

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

jmunro 23 years ago
parent
commit
9081f23ff5
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/read_body.php

+ 3 - 3
src/read_body.php

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