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

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
Link to comment
Share on other sites

  • Recently Browsing   0 members

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