From 2f62e657658c174c90121c7cff5b026add084338 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Mon, 25 Feb 2013 18:40:17 +0000 Subject: [PATCH] fix for binary attributes --- lam/templates/tests/schemaTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lam/templates/tests/schemaTest.php b/lam/templates/tests/schemaTest.php index b2fba27d..6dfbf726 100644 --- a/lam/templates/tests/schemaTest.php +++ b/lam/templates/tests/schemaTest.php @@ -3,7 +3,7 @@ $Id$ This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/) - Copyright (C) 2007 - 2012 Roland Gruber + Copyright (C) 2007 - 2013 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 @@ -121,7 +121,7 @@ function checkSchemaForModule($name, $type) { if (strpos($attrs[$a], 'INFO.') === 0) { continue; } - if (!in_array_ignore_case($attrs[$a], $schemaAttrs)) { + if (!in_array_ignore_case($attrs[$a], $schemaAttrs) && !in_array_ignore_case(str_replace(';binary', '', $attrs[$a]), $schemaAttrs)) { if (isset($aliases[$attrs[$a]]) && in_array_ignore_case($aliases[$attrs[$a]], $schemaAttrs)) { continue; }