rg=0
[squirrelmail.git] / plugins / squirrelspell / modules / crypto.mod
index 6dd1da97f8a9ed524ed7c240509c82217e69d0f8..e10a606563796f895495701cf4289c8329dcd95c 100644 (file)
@@ -19,8 +19,9 @@
 /**
  * Declaring globals for E_ALL
  */
-global $action, $SQSPELL_CRYPTO;
-switch ($action){
+global $SQSPELL_CRYPTO;
+
+switch ($_POST['action']){
   case 'encrypt':
     /**
      * Let's encrypt the file and save it in an encrypted format.