aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/acp/acp_board.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/acp/acp_board.php b/phpBB/includes/acp/acp_board.php
index 7586da5a2d..c65647bc48 100644
--- a/phpBB/includes/acp/acp_board.php
+++ b/phpBB/includes/acp/acp_board.php
@@ -307,7 +307,7 @@ class acp_board
$auth_plugins = array();
$dp = opendir($phpbb_root_path . 'includes/auth');
- while ($file = readdir($dp))
+ while (($file = readdir($dp)) !== false)
{
if (preg_match('#^auth_(.*?)\.' . $phpEx . '$#', $file))
{
@@ -438,7 +438,7 @@ class acp_board
$auth_plugins = array();
$dp = opendir($phpbb_root_path . 'includes/auth');
- while ($file = readdir($dp))
+ while (($file = readdir($dp)) !== false)
{
if (preg_match('#^auth_(.*?)\.' . $phpEx . '$#', $file))
{
@@ -575,7 +575,7 @@ class acp_board
$search_plugins = array();
$dp = opendir($phpbb_root_path . 'includes/search');
- while ($file = readdir($dp))
+ while (($file = readdir($dp)) !== false)
{
if ((preg_match('#\.' . $phpEx . '$#', $file)) && ($file != "search.$phpEx"))
{