Skip to content

Commit

Permalink
Dev: Remove unused function argument
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Mar 2, 2016
1 parent 8879dab commit f949b85
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion application/controllers/admin/participantsaction.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ protected function _renderWrappedTemplate($sAction = 'participants', $aViewUrls
$aData['display']['menu_bars'] = false;

// Add "_view" to urls
array_walk($aViewUrls, function(&$url, $key) { $url .= "_view"; });
array_walk($aViewUrls, function(&$url) { $url .= "_view"; });
parent::_renderWrappedTemplate($sAction, $aViewUrls, $aData);
}

Expand Down Expand Up @@ -1790,7 +1790,9 @@ public function blacklistParticipant()
$this->load->model('participants_model');
$iParticipantId = $this->uri->segment(4);
$iSurveyId = $this->uri->segment(5);

$aData = array();

if (!is_numeric($iSurveyId))
{
$blacklist = $this->uri->segment(5);
Expand Down

0 comments on commit f949b85

Please sign in to comment.