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:
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']))
{
$hasError = true;
$Campos_Crit .= $this->Ini->Nm_lang['lang_errm_ajax_data'];
if (!isset($Campos_Erros['xxxxxxxxxxx']))
{
$Campos_Erros['xxxxxxxxxxxxx'] = array();
}
$Campos_Erros['xxxxxxxxxx'][] = $this->Ini->Nm_lang['lang_errm_ajax_data'];
if (!isset($this->NM_ajax_info['errList']['xxxxxx']) || !is_array($this->NM_ajax_info['errList']['xxxxxx']))
{
$this->NM_ajax_info['errList']['xxxxx'] = array();
}
$this->NM_ajax_info['errList']['xxxxxxx'][] = $this->Ini->Nm_lang['lang_errm_ajax_data'];
breack;
}