From: cajus Date: Fri, 29 Jun 2007 14:35:22 +0000 (+0000) Subject: We're case sensitive? No... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9d79615676a3ac180a05c7e6a2f68f168989b1d1;p=gosa.git We're case sensitive? No... git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6748 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/functions.inc b/include/functions.inc index bf608ae09..ddb9e1465 100644 --- a/include/functions.inc +++ b/include/functions.inc @@ -2508,7 +2508,7 @@ function mac2company($mac) while (!feof($handle)) { $line = fgets($handle, 4096); - if (preg_match("/^$mac/", $line)){ + if (preg_match("/^$mac/i", $line)){ $vendor= substr($line, 32); } }