Skip to content

Commit

Permalink
try to prevent warning on session missing when updatetab; fix #399
Browse files Browse the repository at this point in the history
  • Loading branch information
orthagh committed Feb 29, 2016
1 parent 80b9d44 commit 493fd03
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ajax/updatecurrenttab.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@

include ('../inc/includes.php');

Session::checkLoginUser();

// Manage tabs
if (isset($_GET['tab']) && isset($_GET['itemtype'])) {
if ($item = getItemForItemtype($_GET['itemtype'])) {
Expand Down

0 comments on commit 493fd03

Please sign in to comment.