WordPress.org

Ready to get started?Download WordPress

Forums

Simple Ads Manager
[resolved] Minor Bug Fix (2 posts)

  1. orangefinch
    Member
    Posted 3 years ago #

    Hey minimus,

    There was a minor bug in your plugin where if you were using "drawAdsPLace()" with the name attribute it wouldn't work.

    The fix is an easy one,

    sam-class.php, line 221

    change
    else $pId = "{$pTable}.name = {$args['name']}";

    to
    else $pId = "{$pTable}.name = '{$args['name']}'";

    (add single quotes around the name being selected)

    Cheers!

    Ian

    http://wordpress.org/extend/plugins/simple-ads-manager/

  2. minimus
    Member
    Plugin Author

    Posted 3 years ago #

    Tanks a lot! Fixed!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic