Skip to content

Commit

Permalink
Fixed issue #6459: Declaration of statistics::run() should be compati…
Browse files Browse the repository at this point in the history
…ble with Survey_Common_Action::run()
  • Loading branch information
SamMousa committed Aug 9, 2012
1 parent f540472 commit 699adee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/controllers/admin/statistics.php
Expand Up @@ -33,7 +33,7 @@ function __construct($controller, $id)
/**
* Constructor
*/
public function run($surveyid, $subaction = null)
public function run($surveyid = 0, $subaction = null)
{
$surveyid = sanitize_int($surveyid);
//TODO: Convert question types to views
Expand Down

0 comments on commit 699adee

Please sign in to comment.