Skip to content

Commit ab22062

Browse files
authored
Merge pull request #414 from iMattPro/fixes
Fix PHP 8.0+ deprecation
2 parents 82d5975 + 706ffb1 commit ab22062

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)