From 432484379286bd857fff70f7dbb4c0e3c13e2b4f Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Sun, 1 Mar 2015 10:15:04 +0000 Subject: [PATCH] obfuscation fix --- lam/lib/account.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lam/lib/account.inc b/lam/lib/account.inc index 1c29960c..31e561cb 100644 --- a/lam/lib/account.inc +++ b/lam/lib/account.inc @@ -4,7 +4,7 @@ $Id$ This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/) Copyright (C) 2003 - 2006 Tilo Lutz - 2009 - 2014 Roland Gruber + 2009 - 2015 Roland Gruber This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -946,6 +946,9 @@ function deobfuscateText($text) { if (($text == null) || ($text == '')) { return $text; } + if (!isObfuscatedText($text)) { + return $text; + } return str_replace('LAM_OBFUSCATE:', '', base64_decode(str_rot13($text))); }