Skip to content

Commit

Permalink
Dev: More problems with timingsTableName
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Aug 24, 2017
1 parent 01a34f6 commit bf35c95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/models/SurveyTimingDynamic.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public function tableName()
if (empty(self::$survey)) {
self::model();
}
return self::$survey->timingsTableName;
return '{{survey_' . intval(self::$sid) . '_timings}}';
}

/**
Expand Down

0 comments on commit bf35c95

Please sign in to comment.