From 87f2ccb4cc4555e23e588e88034eeafd6ab55a64 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 30 Nov 2006 06:28:53 +0000 Subject: [PATCH] Printer list was requested from ldap, but wasn't used anyway .. git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5255 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/functions.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/functions.inc b/include/functions.inc index 5f8eb2c58..c4edb994e 100644 --- a/include/functions.inc +++ b/include/functions.inc @@ -1263,6 +1263,9 @@ function get_printer_list($cups_server) } else { $ldap->search('(objectClass=gotoPrinter)', array('cn')); } + while($attrs = $ldap->fetch()){ + $res[$attrs['cn'][0]] = $attrs['cn'][0]; + } return $res; } -- 2.30.2