Skip to content

Commit 706ffb1

Browse files
committed
Fix PHP 8.0+ deprecation: Remove default value from required parameter
1 parent f14bbd9 commit 706ffb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/objects/contribution.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1488,7 +1488,7 @@ public function change_permalink($new_permalink)
14881488
*
14891489
* @return array Returns array containing any errors found.
14901490
*/
1491-
public function validate($contrib_categories = array(), $authors, $custom_fields, $old_permalink = '')
1491+
public function validate($contrib_categories, $authors, $custom_fields, $old_permalink = '')
14921492
{
14931493
phpbb::$user->add_lang('ucp');
14941494

0 commit comments

Comments
 (0)