SF Bug #2901854 - E_WARNING: implode(): Invalid arguments passed
This commit is contained in:
parent
4598d3ae39
commit
676a675c7c
@ -45,9 +45,14 @@ foreach (array(
|
||||
'cn=Overlays,cn=Monitor' => 'cn=Overlay %s,%s'
|
||||
) as $dn => $child) {
|
||||
|
||||
$description = implode(' ',$results[$dn]['description']);
|
||||
if (isset($results[$dn]['description'])) {
|
||||
$description = implode(' ',$results[$dn]['description']);
|
||||
|
||||
$description = preg_replace('/"/','\'',$description);
|
||||
} else {
|
||||
$description = '';
|
||||
}
|
||||
|
||||
$description = preg_replace('/"/','\'',$description);
|
||||
printf('<tr class="list_item"><td class="heading" rowspan=2><acronym title="%s">%s</acronym></td></tr>',$description,$dn);
|
||||
echo '<tr class="list_item"><td class="value">';
|
||||
echo '<table class="result"><tr><td>';
|
||||
|
Loading…
Reference in New Issue
Block a user