瀏覽代碼

* Fixed error when logging out

Tyler Akins 24 年之前
父節點
當前提交
c6b2c83663
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/signout.php

+ 2 - 0
src/signout.php

@@ -21,6 +21,8 @@
 
 
    // Erase any lingering attachments
+   if (! isset($attachments))
+       $attachments = array();
    foreach ($attachments as $info)
    {
        if (file_exists($attachment_dir . $info['localfilename']))