Jump to content

[Bug 4.6.10] Recent Achievements widget configuration checks the wrong setting key


Go to solution Solved by Daniel F,

Recommended Posts

Posted (edited)

This is the code in applications/core/widgets/achievements.php on lines 51-54:

		$form->add( new \IPS\Helpers\Form\CheckboxSet( 'achievements_to_show', isset( $this->configuration['achivements_to_show'] ) ? explode( ',', $this->configuration['achivements_to_show'] ) : [ 'badges', 'ranks' ], TRUE, [ 'options' => [
			'badges'	=> 'block_achievements_badges',
			'ranks'		=> 'block_achievements_rank',
		] ] ) );

 

The setting's key is achievements_to_show but the isset/explode instead use achivements_to_show (the first e is missing).

Edited by teraßyte
  • Solution
Posted

Thank you for bringing this issue to our attention! I can confirm this should be further reviewed and I have logged an internal bug report for our development team to investigate and address as necessary, in a future maintenance release.

 

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...