Explorar el Código

Destroy user view on delete()

Serghey Rodin hace 13 años
padre
commit
afbc4f101d
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      web/delete/user/index.php

+ 1 - 0
web/delete/user/index.php

@@ -15,6 +15,7 @@ if ($_SESSION['user'] == 'admin') {
         if (empty($error)) $error = __('Error: vesta did not return any output.');
             $_SESSION['error_msg'] = $error;
     }
+    unset($_SESSION['look']);
     unset($output);
 }