]> git.p6c8.net - jirafeau_mojo42.git/commitdiff
Fix async uploads with encryption
authorJerome Jutteau <mojo@couak.net>
Wed, 31 Jul 2013 07:23:02 +0000 (07:23 +0000)
committerJerome Jutteau <mojo@couak.net>
Wed, 31 Jul 2013 07:23:02 +0000 (07:23 +0000)
lib/functions.php

index f1c1d77a4b199078dcbe6ea018de4c5ca3319f35..15c7a3e4f96a1c643e4c5a352fc0dee25f62891d 100755 (executable)
@@ -905,7 +905,7 @@ jirafeau_async_end ($ref, $code, $crypt, $link_name_length)
     $crypt_key = '';
     if ($crypt == true && extension_loaded('mcrypt'))
     {
-        $cypt_key = jirafeau_encrypt_file ($p, $p);
+        $crypt_key = jirafeau_encrypt_file ($p, $p);
         if (strlen($crypt_key) > 0)
             $crypted = true;
     }

patrick-canterino.de