1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-06-22 21:20:31 -04:00
ports/net/phpldapadmin/files/patch-lib__TemplateRender.php
Matthew Seaman f8906302f6 Modernization: switch to USES=php:web
Update files/patch-lib__functions.php to work around the lack of the
deprecated mcrypt functions in php >= 7.1.

Regenerate patches with 'make makesum'

PR:		227199
Submitted by:	ohartmann@walstatt.org
2018-04-02 20:11:58 +00:00

11 lines
524 B
PHP

--- lib/TemplateRender.php.orig 2012-10-01 06:54:14 UTC
+++ lib/TemplateRender.php
@@ -2466,7 +2466,7 @@ function deleteAttribute(attrName,friend
if ($val = $attribute->getValue($i))
$default = get_enc_type($val);
else
- $default = $this->getServer()->getValue('appearance','password_hash');
+ $default = $this->getServer()->getValue('appearance','password_hash_custom');
if (! $attribute->getPostValue())
printf('<input type="hidden" name="post_value[%s][]" value="%s" />',$attribute->getName(),$i);