Obsolete duplicate function to make sure version comparison is done in a
[squirrelmail.git] / src / view_text.php
index 18d80586128726f9d21928047e146995a7511ce5..0aa24e99924e7da7d87f50c6ca6ed61f53627929 100644 (file)
@@ -3,7 +3,7 @@
 /**
  * view_text.php -- Displays the main frameset
  *
- * Copyright (c) 1999-2002 The SquirrelMail development team
+ * Copyright (c) 1999-2003 The SquirrelMail development team
  * Licensed under the GNU GPL. For full terms see the file COPYING.
  *
  * Who knows what this file does. However PUT IT HERE DID NOT PUT
@@ -29,7 +29,12 @@ if (!isset($_GET['passed_ent_id'])) {
     $passed_ent_id = $_GET['passed_ent_id'];
 }
 $passed_id = $_GET['passed_id'];
-$ent_id = $_GET['ent_id'];
+if (isset($_GET['ent_id'])) {
+       $ent_id = $_GET['ent_id'];
+} else {
+       $ent_id = '';
+}
+
 $username = $_SESSION['username'];
 $key = $_COOKIE['key'];
 $delimiter = $_SESSION['delimiter'];