Fix undefined variable notices
authorpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 4 Jun 2022 17:20:28 +0000 (17:20 +0000)
committerpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 4 Jun 2022 17:20:28 +0000 (17:20 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14970 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/read_body.php

index 041591b6791308cbbcc4f84dac0b6fd50bf967d9..b4b9f3a359a876877e00d7560c7b70682418a1cf 100644 (file)
@@ -490,6 +490,7 @@ function formatMenubar($aMailbox, $passed_id, $passed_ent_id, $message,
     $mailbox = $aMailbox['NAME'];
 
     $urlMailbox = urlencode($mailbox);
+    $next = $prev = -1;
 
     // Create Prev & Next links
     // Handle nested entities first (i.e. Mime Attach parts)