aboutsummaryrefslogtreecommitdiffstats
path: root/community/phpldapadmin/phpldapadmin-1.2.3_fixed-call-to-renamed-function-pla_password_hash.patch
blob: af9e73b48171fe7913bffec5f08bb2ca923b8d75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From c736ecd8c26b360e4764fbd3a472e2fa4b1b3db6 Mon Sep 17 00:00:00 2001
From: Ivo van der Meer <ivo@crewtty.ath.cx>
Date: Wed, 4 Jun 2014 10:48:06 +0200
Subject: [PATCH] Bugfix: fixed call to renamed function pla_password_hash.

---
 lib/PageRender.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/PageRender.php b/lib/PageRender.php
index 7d86a54..6cc571e 100644
--- a/lib/PageRender.php
+++ b/lib/PageRender.php
@@ -287,7 +287,7 @@ protected function getPostAttribute($attribute,$i) {
 						break;
 
 					default:
-						$vals[$i] = password_hash($passwordvalue,$enc);
+						$vals[$i] = pla_password_hash($passwordvalue,$enc);
 				}
 
 				$vals = array_unique($vals);