Scriptcase version: 9.3.008
Module: Security -> Group / users
Step to reproduce:
In the Scriptcase IDE. [LIST=1]
Rootcause:
This block of code were executed quite late in the application.
$this->group = $Busca_temp['group'];
$tmp_pos = strpos($this->group, "##@@");
if ($tmp_pos !== false && !is_array($this->group))
{
$this->group = substr($this->group, 0, $tmp_pos);
}
Causing the below statement failed to evaluate the value of the property $this->group
$this->nm_where_dinamico = "WHERE login IN ( SELECT login FROM sc_sec_users_groups WHERE group_id = ".$this->group ." )";