From 62d76b38518e17eca6f1ce31fd030a64396f99d8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=B4me=20Chilliet?= <come@opensides.be>
Date: Wed, 11 Jan 2017 14:08:06 +0100
Subject: [PATCH] Fixes #4822 using static:: and not self::

---
 html/class_passwordRecovery.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/html/class_passwordRecovery.inc b/html/class_passwordRecovery.inc
index 32fc0c600..664562e79 100644
--- a/html/class_passwordRecovery.inc
+++ b/html/class_passwordRecovery.inc
@@ -531,7 +531,7 @@ class passwordRecovery extends standAlonePage {
 
   function generateAndStoreToken()
   {
-    $activatecode = self::generateRandomHash();
+    $activatecode = static::generateRandomHash();
 
     $error = $this->storeToken($activatecode);
 
-- 
GitLab