WordPress.org

Support

Support » Plugins and Hacks » Simple Ads Manager » [Resolved] [Plugin: Simple Ads Manager] Minor Bug Fix

[Resolved] [Plugin: Simple Ads Manager] Minor Bug Fix

  • 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/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] [Plugin: Simple Ads Manager] Minor Bug Fix’ is closed to new replies.
Skip to toolbar