]> git.p6c8.net - jirafeau_mojo42.git/commitdiff
fix error on link encrypted parameters
authorJerome Jutteau <mojo@couak.net>
Sun, 22 Feb 2015 18:12:38 +0000 (19:12 +0100)
committerJerome Jutteau <mojo@couak.net>
Sun, 22 Feb 2015 18:12:38 +0000 (19:12 +0100)
lib/functions.php

index c613d4aa7430d80fee4ee93fd76e69f4a0bea8c6..76ae4b0189a0937754f97e8a043c6bb9978c80db 100644 (file)
@@ -555,6 +555,8 @@ jirafeau_get_link ($hash)
     $out['link_code'] = trim ($c[9]);
     if (trim ($c[10]) == 'C')
            $out['crypted'] = true;
     $out['link_code'] = trim ($c[9]);
     if (trim ($c[10]) == 'C')
            $out['crypted'] = true;
+    else
+           $out['crypted'] = false;
     
     return $out;
 }
     
     return $out;
 }

patrick-canterino.de