Skip to content

Commit

Permalink
Fixed issue #7689: error on setting survey permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Mar 20, 2013
1 parent 8601704 commit cd4a080
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/controllers/admin/surveypermission.php
Expand Up @@ -37,7 +37,7 @@ function index($surveyid)
$aBaseSurveyPermissions=Permission::model()->getBasePermissions();
$userList=getUserList('onlyuidarray'); // Limit the user list for the samegrouppolicy
App()->getClientScript()->registerPackage('jquery-tablesorter');
App()->getClientScript()->registerScriptFile(Yii::app()->getConfig('adminscripts') . 'surveysecurity.js');
App()->getClientScript()->registerScriptFile(Yii::app()->getConfig('adminscripts') . "surveypermissions.js");
$surveysecurity ="<div class='header ui-widget-header'>".$clang->gT("Survey permissions")."</div>\n";
$result2 = Permission::model()->getUserDetails($surveyid);
if(count($result2) > 0)
Expand Down Expand Up @@ -400,7 +400,7 @@ function set($surveyid)
if( Permission::model()->hasSurveyPermission($surveyid, 'surveysecurity', 'update') )
{
App()->getClientScript()->registerPackage('jquery-tablesorter');
App()->getClientScript()->registerScriptFile(Yii::app()->getConfig('adminscripts') . 'surveysecurity.js');
App()->getClientScript()->registerScriptFile(Yii::app()->getConfig('adminscripts') . "surveypermissions.js");
if ($action == "setsurveysecurity")
{
$query = "select users_name from {{users}} where uid=:uid";
Expand Down
File renamed without changes.

0 comments on commit cd4a080

Please sign in to comment.