freebsd-ports/net/phpldapadmin/files/patch-lib_xmlTemplates.php
Muhammad Moinur Rahman a9c2430bd9 net/phpldapadmin: Fix runtime with php80
- Pet portclippy/portfmt

PR:		261990
Reported by:	ohartmann@walstatt.org
Approved by:	ports@bsdserwis.com (maintainer)
Sponsored by:	Bounce Experts
2022-03-06 22:43:50 -06:00

11 lines
343 B
PHP

--- lib/xmlTemplates.php.orig 2021-12-12 02:35:51 UTC
+++ lib/xmlTemplates.php
@@ -140,7 +140,7 @@ abstract class xmlTemplates {
if ($changed) {
masort($this->templates,'title');
- set_cached_item($server_id,$class['item'],'null',$this->templates);
+ set_cached_item($server_id,$this->templates,$class['item'],'null');
}
}