diff --git a/htdocs/monitor.php b/htdocs/monitor.php
index 51ac392..5416a1a 100644
--- a/htdocs/monitor.php
+++ b/htdocs/monitor.php
@@ -129,15 +129,15 @@ foreach (array(
}
# cn=Connections,cn=Monitor
-printf('
%s |
',$results['cn=Connections,cn=Monitor']['description'],_('LDAP Connections'));
+printf('%s |
',$results['cn=Connections,cn=Monitor']['description'][0],_('LDAP Connections'));
printf('');
echo '';
echo '';
printf('%s | %s | ',
- _('Total Connections'),$results['cn=Total,cn=Connections,cn=Monitor']['monitorcounter']);
+ _('Total Connections'),$results['cn=Total,cn=Connections,cn=Monitor']['monitorcounter'][0]);
printf('%s | %s | ',
- _('Current Connections'),$results['cn=Current,cn=Connections,cn=Monitor']['monitorcounter']);
+ _('Current Connections'),$results['cn=Current,cn=Connections,cn=Monitor']['monitorcounter'][0]);
# Look for some connections
foreach ($results as $key => $value) {
|
|