Fix logic in process_common_errors for unbalanced quotes
Merge pull request #6586 from sivel/probline-logic-fix

Fix logic in process_common_errors for unbalanced quotes