Support » Plugin: Custom Post Donations » I fixed PHP warning on custom-post-donations.php

  • Resolved Nick Powers


    On line 188 of custom-post-donations.php

    You have:
    return createCPDonationForm($atts[id]);

    when it should be:
    return createCPDonationForm($atts['id']);

    Doing so removes the following warning:
    Notice: Use of undefined constant id – assumed ‘id’ in /var/www/ on line 188

    You might think about making this change in the next update.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘I fixed PHP warning on custom-post-donations.php’ is closed to new replies.