killed warnigs on lagre resultsets

This commit is contained in:
Cornelius Weiß 2005-11-14 16:44:23 +00:00
parent 76489981c8
commit fb48a4896d

View File

@ -209,7 +209,7 @@ class socontacts
{ {
$expr .= ',$not_result['.$i.']'; $expr .= ',$not_result['.$i.']';
} }
eval('$not_result = array_merge_recursive('.$expr.');'); @eval('$not_result = array_merge_recursive('.$expr.');');
} }
foreach($all_main_ids as $entry) foreach($all_main_ids as $entry)
{ {
@ -244,7 +244,7 @@ class socontacts
{ {
$expr .= ',$result['.$i.']'; $expr .= ',$result['.$i.']';
} }
eval('$merge = array_merge_recursive('.$expr.');'); @eval('$merge = array_merge_recursive('.$expr.');');
if(!is_array($merge[$this->extra_id])) if(!is_array($merge[$this->extra_id]))
{ {
$merge[$this->extra_id] = (array)$merge[$this->extra_id]; $merge[$this->extra_id] = (array)$merge[$this->extra_id];
@ -267,7 +267,7 @@ class socontacts
{ {
$expr .= ',$resultextra['.$i.']'; $expr .= ',$resultextra['.$i.']';
} }
eval('$merge = array_merge_recursive('.$expr.');'); @eval('$merge = array_merge_recursive('.$expr.');');
$resultextra = array_unique((array)$merge[$this->extra_id]); $resultextra = array_unique((array)$merge[$this->extra_id]);
} }
} }
@ -289,7 +289,7 @@ class socontacts
{ {
$expr .= ',$result['.$i.']'; $expr .= ',$result['.$i.']';
} }
eval('$merge = array_merge_recursive('.$expr.');'); @eval('$merge = array_merge_recursive('.$expr.');');
$result = ($merge[$this->main_id]); $result = ($merge[$this->main_id]);
} }
// _debug_array($result); // _debug_array($result);