Skip to content

Commit

Permalink
partial fix #7689: error on setting survey permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
mennodekker committed Mar 20, 2013
1 parent e177db8 commit 3773553
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/models/Permission.php
Expand Up @@ -42,7 +42,7 @@ public function primaryKey()
* @static
* @access public
* @param string $class
* @return CActiveRecord
* @return Permission
*/
public static function model($class = __CLASS__)
{
Expand Down Expand Up @@ -142,7 +142,7 @@ public static function setPermissions($iUserID, $iSurveyID, $aPermissions)
}
else
{
$aBasePermissions=$this->getBasePermissions();
$aBasePermissions=Permission::model()->getBasePermissions();

}

Expand Down

0 comments on commit 3773553

Please sign in to comment.