From 04b59e2398540788485a9e4cc74f86defc4e76f0 Mon Sep 17 00:00:00 2001 From: Carsten Schmitz Date: Thu, 19 Mar 2020 22:10:20 +0100 Subject: [PATCH] Fixed issue #15838: Check database integrity error --- application/controllers/admin/checkintegrity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/controllers/admin/checkintegrity.php b/application/controllers/admin/checkintegrity.php index 5ca7783b880..cc66db4dfb5 100644 --- a/application/controllers/admin/checkintegrity.php +++ b/application/controllers/admin/checkintegrity.php @@ -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