mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
Added CHANGELOG update
Included sRandomChars in functions.limesurvey Add an index on the token field of the survey table
This commit is contained in:
@@ -407,6 +407,11 @@ function activateSurvey($postsid,$surveyid, $scriptname='admin.php')
|
||||
}
|
||||
|
||||
$execresult=$dict->ExecuteSQLArray($sqlarray,1);
|
||||
|
||||
//queXS Addition - add an index on the token
|
||||
$createtokenindex = $dict->CreateIndexSQL("{$tabname}_idx", $tabname, array('token'));
|
||||
$dict->ExecuteSQLArray($createtokenindex, false) or safe_die ("Failed to create token index<br />$createtokenindex<br /><br />".$connect->ErrorMsg());
|
||||
|
||||
if ($execresult==0 || $execresult==1)
|
||||
{
|
||||
$activateoutput .= "<br />\n<div class='messagebox ui-corner-all'>\n" .
|
||||
|
||||
Reference in New Issue
Block a user