Skip to content

Commit

Permalink
Fixed issue: Not displaying quotas
Browse files Browse the repository at this point in the history
  • Loading branch information
lacrioque committed Mar 31, 2017
1 parent 9b88bfb commit 578a9ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/models/Quota.php
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ public function getMainLanguagesetting(){
}

public function getCompleteCount(){
if(!isset($this->survey->id) || !tableExists("survey_{$this->survey->id}"))
if(!isset($this->sid) || !tableExists("survey_{$this->sid}"))
return;

if (count($this->quotaMembers) > 0)
Expand Down

0 comments on commit 578a9ec

Please sign in to comment.