Explorar o código

same fix as stable

tokul %!s(int64=21) %!d(string=hai) anos
pai
achega
c0945deb91
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      src/redirect.php

+ 1 - 2
src/redirect.php

@@ -173,8 +173,7 @@ function attachment_common_parse($str, $debug) {
             $attachment_common_types[$val] = true;
         }
     }
-    $_SESSION['attachment_common_types'] = $attachment_common_types;
+    sqsession_register($attachment_common_types, 'attachment_common_types');
 }
 
-
 ?>