[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#850956: gosa-plugin-netgroups: fails to show the content of netgroup list entry (e.g. workstation-hosts)

Package: gosa-plugin-netgroups
Version: 0.1~svn652-4
Severity: normal
User: debian-edu@lists.debian.org
User-tags: debian-edu


while testing Debian Edu stretch another PHP7 issue (constructor name)
showed up.

Please note that for some reason replacing the function name with
'__constructor' doesn't work in this case.

This patch seems to fix it:

--- a/tabs_netgroup.inc	2017-01-11 16:20:32.203632303 +0100
+++ b/tabs_netgroup.inc	2017-01-11 16:13:58.399201779 +0100
@@ -23,7 +23,7 @@
 class netgrouptabs extends tabs {
-    function netgrouptabs($config, $data, $dn, $cat = "", $hide_refs = FALSE, $hide_acls = FALSE) {
+    function __netgrouptabs($config, $data, $dn, $cat = "", $hide_refs = FALSE, $hide_acls = FALSE) {
         tabs::__plugin($config, $data, $dn, "netgroups", $hide_refs, $hide_acls);

Please test.


Attachment: signature.asc
Description: Digital signature

Reply to: