Guest User

Untitled

a guest
Apr 20th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.43 KB | None | 0 0
  1. if (isset($_SESSION['currentID'])){
  2.     if ($_GET['action'] !== "close"){
  3.         unset($_SESSION['currentID']);
  4.         unset($_SESSION['type']);
  5.     } else {
  6.         if ($_SESSION['type'] == "quote"){
  7.             $this = new Quote($_SESSION['currentID'], $_SESSION['type']);
  8.         } else {
  9.             $this = new Job($_SESSION['currentID'], $_SESSION['type']);
  10.         }
  11.         $client = $this->getClientDetails();
  12.     }
  13. }
Add Comment
Please, Sign In to add comment