mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/14972] replace all occurrences of sizeof() with the count()
PHPBB3-14972
This commit is contained in:
@@ -203,7 +203,7 @@ class ucp_notifications
|
||||
}
|
||||
|
||||
$template->assign_vars(array(
|
||||
strtoupper($block) . '_COLS' => sizeof($notification_methods) + 2,
|
||||
strtoupper($block) . '_COLS' => count($notification_methods) + 2,
|
||||
));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user