Bug passing values from double select

Hi
a double select in a control app with this

SELECT DISTINCT CONCAT("’", columna1, “’”), column2…

when it processes it calls sc_redir
the follow error is displayed:
Uncaught Error: Undefined constant “breack” in… thrown in /xxxxxxxxxxxxxxxxxxxx/form_xxxxxxxxx_apl.php on line 2139

and the source code generated by SC:

  1. if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['form_xxxxxxxxxxxxxxxxx']['Lookup_xxxxxxxxxxxxx']) && !in_array($cada_cmp_SC, $_SESSION['sc_session'][$this->Ini->sc_page]['form_xxxxxxxxxxxxx']['Lookup_xxxxxxxxxxxx']))
  2. {
  3. $hasError = true;
  4. $Campos_Crit .= $this->Ini->Nm_lang['lang_errm_ajax_data'];
  5. if (!isset($Campos_Erros['xxxxxxxxxxx']))
  6. {
  7. $Campos_Erros['xxxxxxxxxxxxx'] = array();
  8. }
  9. $Campos_Erros['xxxxxxxxxx'][] = $this->Ini->Nm_lang['lang_errm_ajax_data'];
  10. if (!isset($this->NM_ajax_info['errList']['xxxxxx']) || !is_array($this->NM_ajax_info['errList']['xxxxxx']))
  11. {
  12. $this->NM_ajax_info['errList']['xxxxx'] = array();
  13. }
  14. $this->NM_ajax_info['errList']['xxxxxxx'][] = $this->Ini->Nm_lang['lang_errm_ajax_data'];
  15. breack;
  16. }

UPDATE:
It ocurrs when the first column is text and it includes ’ or & (html code)

regards