Closed (fixed)
Project:
Advertisement
Version:
5.x-1.3-1
Component:
ad_image.module
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
30 Jul 2007 at 05:08 UTC
Updated:
13 Aug 2007 at 18:05 UTC
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
Comment #1
jeremy commentedThanks for the bug report, fixed in the development branch.
Comment #2
(not verified) commented