Skip to content

Commit

Permalink
Fixed #1254 - Cannot change access to a project from the management.php
Browse files Browse the repository at this point in the history
or gift a project from the properties windows started from management.php
  • Loading branch information
torinfo committed Sep 20, 2023
1 parent 9a64036 commit 94b45ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion website_code/php/properties/access_change_template.php
Expand Up @@ -36,7 +36,7 @@

require_once (__DIR__ . "/../XerteProjectDecoder.php");

if (!isset($_SESSION['toolkits_logon_username']))
if (!isset($_SESSION['toolkits_logon_id']))
{
_debug("Session is invalid or expired");
die("Session is invalid or expired");
Expand Down
2 changes: 1 addition & 1 deletion website_code/php/properties/name_select_gift_template.php
Expand Up @@ -35,7 +35,7 @@
$search = $_POST['search_string'];
$prefix = $xerte_toolkits_site->database_table_prefix;

if (!isset($_SESSION['toolkits_logon_username']))
if (!isset($_SESSION['toolkits_logon_id']))
{
_debug("Session is invalid or expired");
die("Session is invalid or expired");
Expand Down

0 comments on commit 94b45ac

Please sign in to comment.