Forráskód Böngészése

Destroy user view on delete()

Serghey Rodin 12 éve
szülő
commit
afbc4f101d
1 módosított fájl, 1 hozzáadás és 0 törlés
  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.');
         if (empty($error)) $error = __('Error: vesta did not return any output.');
             $_SESSION['error_msg'] = $error;
             $_SESSION['error_msg'] = $error;
     }
     }
+    unset($_SESSION['look']);
     unset($output);
     unset($output);
 }
 }