]> git.datanom.net - qtadmin.git/blobdiff - mail_report.php
prepare for wblistadm server
[qtadmin.git] / mail_report.php
index 60405f7d124df6aab50cbc9684dc8a7ac5c13945..f8ff4ace84f19b03dae3a68acb31e090907984f8 100644 (file)
@@ -11,7 +11,7 @@
         $id = $_GET['id'];
         $mail = unserialize($_SESSION['mailInfo'][$id]);
 
         $id = $_GET['id'];
         $mail = unserialize($_SESSION['mailInfo'][$id]);
 
-        if (false == $util->authorized($mail->recipient)) {
+        if (! is_object($mail) || false == $util->authorized($mail->recipient)) {
             header('Location: index.php');
             exit;
         }
             header('Location: index.php');
             exit;
         }
This page took 0.052147 seconds and 5 git commands to generate.