mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
Automatically create tokens table when activating (as is required by queXS)
This commit is contained in:
@@ -80,5 +80,11 @@ if (!isset($_POST['ok']) || !$_POST['ok'])
|
||||
else
|
||||
{
|
||||
$activateoutput = activateSurvey($postsid,$surveyid);
|
||||
//also activate tokens queXS addition
|
||||
if(bHasSurveyPermission($surveyid,'tokens','read'))
|
||||
{
|
||||
$_POST['createtable'] = 'Y';
|
||||
$_SESSION['FileManagerContext']="edit:emailsettings:$surveyid";
|
||||
include('tokens.php');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user