mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
$col in name for $c == 0 triggered a use as index in content
This commit is contained in:
parent
fe8be115fb
commit
219c1db81e
@ -112,6 +112,7 @@
|
||||
*/
|
||||
function expand_name($name,$c,$row,$c_='',$row_='',$cont='')
|
||||
{
|
||||
$is_index_in_content = $name[0] == '@';
|
||||
if (strstr($name,'$') !== False)
|
||||
{
|
||||
if (!$cont)
|
||||
@ -125,7 +126,7 @@
|
||||
|
||||
eval('$name = "'.$name.'";');
|
||||
}
|
||||
if ($name[0] == '@')
|
||||
if ($is_index_in_content)
|
||||
{
|
||||
$name = $this->get_array($cont,substr($name,1));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user