From: Stanislav Date: Tue, 23 Dec 2008 08:40:22 +0000 (+0100) Subject: Case insensitive matching when deciding if a entry is public X-Git-Tag: 0.7.1~8 X-Git-Url: https://git.sur5r.net/?p=contagged;a=commitdiff_plain;h=fee3219cb9e4a505c4a368d879ea3bde6b6e27a3 Case insensitive matching when deciding if a entry is public darcs-hash:20081223084022-e4d75-237d4bfc6cc8f08f57994bb45361681ef82e36b1.gz --- diff --git a/inc/template.php b/inc/template.php index 863f0cd..81c0b93 100644 --- a/inc/template.php +++ b/inc/template.php @@ -66,7 +66,7 @@ function tpl_entry($in){ $out['dn'] = normalize_dn($out['dn']); $conf['publicbook'] = normalize_dn($conf['publicbook']); if($out['dn']){ - if(strstr($out['dn'],$conf['publicbook'])){ + if(stristr($out['dn'],$conf['publicbook'])){ $out['type'] = 'public'; }else{ $out['type'] = 'private';