Home Forums Newsletter Plugin Support PHP error in widget.php

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #8285
    jona
    Member

    Hi,
    First of all I would say very good job for this plugin and thank you 🙂

    Then I’ve found a bug.

    widget.php line 59. $i overrides the previous $i counter, so it creates an infinite loop. I’ve changed it to $t, and line 61 replace
    $form .= ‘<option>’ . trim($opts[$i]) . ‘</option>’;
    by
    $form .= ‘<option>’ . trim($opts[$t]) . ‘</option>’;

    #8289
    Stefano
    Keymaster

    Patched and available with version 3.2.9.

    Thank you.

    Stefano.

    #8290
    jona
    Member

    Wow, this is very fast. 🙂

    #8291
    Stefano
    Keymaster

    Actually pure coincidence: I got the message while I was modifying other parts of the plugin. 🙂

    Stefano.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.