Selaa lähdekoodia

* Fixed error when logging out

Tyler Akins 24 vuotta sitten
vanhempi
commit
c6b2c83663
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  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']))