LimeSurvey/LimeSurvey — pull request #6 by fmestrone (2012-04-26 20:46:22+00:00)
Title: Missing parameter in _getTokenIds?

The member function _getTokenIds in application/controllers/admin/tokens.php references a $iSurveyId variable which is not declared or initialised anywhere. The only reference to the function seems to be on line 1022, where such a variable is available. Adjusting the method to take an extra survey Id parameter seems to fix the problem I encountered when working with tokens in v2.0b1