Closed (works as designed)
Project:
AdaptiveTheme
Version:
7.x-2.1
Component:
CSS/HTML
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
1 Dec 2011 at 13:08 UTC
Updated:
7 May 2012 at 11:17 UTC
Hi,
I've try to make template suggestions per vocabulary as described here.
and I've got this error:
Fatal error: Call to undefined function db_result() in /home/xxx/public_html/sites/all/themes/my-subtheme-name/template.php on line 59
on line 59 in templete.php I have:
$vid = db_result(db_query($sql, $tid));
What I'm doing wrong?
Comments
Comment #1
Jeff Burnz commentedWhat are you doing wrong?
Database query in a template, thats what you are doing wrong!
Dude, don't even go there, this is so wrong its not funny.