diff options
author | Marc Alexander <admin@m-a-styles.de> | 2014-06-30 21:36:11 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2014-06-30 21:36:11 +0200 |
commit | 330f21ab7605a4c327b68af630be5eaef5e2cd88 (patch) | |
tree | cdf021eae5e622c5ed7e6ffdb16230f6b698bebe /phpBB/phpbb/viewonline_helper.php | |
parent | eb9321c3a1d2223ef2dc25671b6abbdd8b2df8ef (diff) | |
download | forums-330f21ab7605a4c327b68af630be5eaef5e2cd88.tar forums-330f21ab7605a4c327b68af630be5eaef5e2cd88.tar.gz forums-330f21ab7605a4c327b68af630be5eaef5e2cd88.tar.bz2 forums-330f21ab7605a4c327b68af630be5eaef5e2cd88.tar.xz forums-330f21ab7605a4c327b68af630be5eaef5e2cd88.zip |
[ticket/9801] Use empty instead of sizeof
PHPBB3-9801
Diffstat (limited to 'phpBB/phpbb/viewonline_helper.php')
-rw-r--r-- | phpBB/phpbb/viewonline_helper.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/viewonline_helper.php b/phpBB/phpbb/viewonline_helper.php index 32b7e55f00..3fc33119a3 100644 --- a/phpBB/phpbb/viewonline_helper.php +++ b/phpBB/phpbb/viewonline_helper.php @@ -27,7 +27,7 @@ class viewonline_helper public function get_user_page($session_page) { preg_match('#^([./\\]*+[a-z0-9/_-]+)#i', $session_page, $on_page); - if (!sizeof($on_page)) + if (empty($on_page)) { $on_page[1] = ''; } |