Skip to content
Snippets Groups Projects
Commit 406f183e authored by Satish's avatar Satish
Browse files

Fixes #437 - Issue with Migration script design 660_to_700.php

parent 80fe38ad
No related branches found
No related tags found
No related merge requests found
......@@ -473,7 +473,7 @@ if(defined('VTIGER_UPGRADE')) {
$commentsResult = $db->pquery('SELECT vtiger_modcomments.modcommentsid FROM vtiger_modcomments
LEFT JOIN vtiger_crmentity ON vtiger_crmentity.crmid = vtiger_modcomments.related_to
WHERE vtiger_crmentity.setype NOT IN ('.generateQuestionMarks($internalCommentModules).')
OR vtiger_crmentity.setype IS NULL modcommentsid > ? LIMIT 500', array_merge($internalCommentModules, array($lastMaxCRMId)));
OR vtiger_crmentity.setype IS NULL AND modcommentsid > ? LIMIT 500', array_merge($internalCommentModules, array($lastMaxCRMId)));
if (!$db->num_rows($result)) {
break;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment