diff --git a/includes/pages/admin_active.php b/includes/pages/admin_active.php index 241d0904..7811d795 100644 --- a/includes/pages/admin_active.php +++ b/includes/pages/admin_active.php @@ -92,7 +92,7 @@ function admin_active() { $match = false; $index = join("", $usr); foreach ($tokens as $t) - if (strstr($index, trim($t))) { + if (stristr($index, trim($t))) { $match = true; break; } diff --git a/includes/pages/admin_arrive.php b/includes/pages/admin_arrive.php index 70a43394..805813cd 100644 --- a/includes/pages/admin_arrive.php +++ b/includes/pages/admin_arrive.php @@ -35,7 +35,7 @@ function admin_arrive() { $match = false; $index = join("", $usr); foreach ($tokens as $t) - if (strstr($index, trim($t))) { + if (stristr($index, trim($t))) { $match = true; break; } @@ -57,4 +57,4 @@ function admin_arrive() { 'link' => page_link_to('admin_arrive') )); } -?> \ No newline at end of file +?> diff --git a/includes/pages/admin_free.php b/includes/pages/admin_free.php index 88a96965..43b2e1a7 100644 --- a/includes/pages/admin_free.php +++ b/includes/pages/admin_free.php @@ -33,7 +33,7 @@ function admin_free() { $match = false; $index = join("", $usr); foreach ($tokens as $t) - if (strstr($index, trim($t))) { + if (stristr($index, trim($t))) { $match = true; break; }