]> git.datanom.net - qtadmin.git/blobdiff - message_view.php
First upload of wblist page
[qtadmin.git] / message_view.php
index e81d984f4dce3d2047cd04c2c1e8eb1142f0dde8..93cc33946eda98d29818bf8560618b4e9d30a6eb 100644 (file)
@@ -13,8 +13,8 @@
 
         $mail = unserialize($_SESSION['mailInfo'][$id]);
 
 
         $mail = unserialize($_SESSION['mailInfo'][$id]);
 
-        if (false == $util->authorized($mail->recipient)) {
-            header('Location: index.php');
+        if (! is_object($mail) || false == $util->authorized($mail->recipient)) {
+            header('Location: qtadmin.php');
             exit;
         }
 
             exit;
         }
 
@@ -95,7 +95,7 @@
         echo '</td></tr></table>';
         echo $util->getFooter();
     } else if ($loggedIn) {
         echo '</td></tr></table>';
         echo $util->getFooter();
     } else if ($loggedIn) {
-        header('Location: index.php');
+        header('Location: qtadmin.php');
     } else {
         header('Location: auth.php');
     }
     } else {
         header('Location: auth.php');
     }
This page took 0.029034 seconds and 5 git commands to generate.