Pending

User tests: Successful: Unsuccessful:

avatar Hackwar
Hackwar
27 Nov 2026

Pull Request for Issue # .

  • I read the Generative AI policy and my contribution is either not created with the help of AI or is compatible with the policy and GNU/GPL 2 or later.

This change was created with the help of AI (Claude Code).

Summary of Changes

plg_quickicon_weblinks declares show_count with default="0" in its XML, so the options form shows No, but the code reads $this->params->get('show_count', 1). Until the plugin options are saved once, the quickicon shows the count although the options say it doesn't; after opening and saving the options without changes, the count disappears.

The code default is now 0, matching the XML.

Testing Instructions

  • Install the package on a fresh site (plugin params empty).
  • Enable the Weblinks quickicon and look at the control panel, then open and save the plugin options without changes.

Expected result

No count is shown in both cases (as the options say).

Actual result

The count is shown before saving the options, and disappears after saving them unchanged.

Documentation Changes Required

None

avatar Hackwar Hackwar - open - 27 Nov 2026

Add a Comment

Login with GitHub to post a comment