Skip to content

Commit

Permalink
Fixed issue #15838: Check database integrity error
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Mar 19, 2020
1 parent de2cd28 commit 04b59e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/controllers/admin/checkintegrity.php
Expand Up @@ -538,7 +538,7 @@ protected function _checkintegrity()
if ($oQuestion->gid != $sGid){

// If not, we change the column name
$sNvColName = $oSurvey->sid . 'X'. $oQuestion->groups->gid . 'X' . $sDirtyQid;
$sNvColName = $oSurvey->sid . 'X'. $oQuestion->group->gid . 'X' . $sDirtyQid;

if ( array_key_exists( $sNvColName, $aColumns ) ){
// This case will not happen often, only when QID + Subquestion ID == QID of a question in the target group
Expand Down

0 comments on commit 04b59e2

Please sign in to comment.