I use php block with command
[code]
print ad(NULL, 1, array('nids' => '43'));
[/code]
and i got error:
[code]
user warning: Unknown column 'n.nid' in 'where clause' query: SELECT aid, adtype, redirect, activated, maxviews, maxclicks FROM ads a WHERE adstatus = 'active' AND (n.nid = 153) ORDER BY RAND() LIMIT 1 in /home/www/xxxxx/site/includes/database.mysql.inc on line 172.
[/code]
i use adv 5.x-1.3-1
Drupal 5.2

Comments

jeremy’s picture

Assigned: Unassigned » jeremy
Status: Active » Fixed

Thanks for the bug report, fixed in the development branch.

Anonymous’s picture

Status: Fixed » Closed (fixed)