By robertdouglass on
I'm trying to track down a bug in my 4.5 installation. In the original post for forums, the number 1 is mysteriously appearing and I can't find it in the code. Here's the code snippet:
<!-- begin content -->
<div class="node ">
1
<span class="submitted">Submitted by
Any ideas on where to look would be appreciated.
-Robert
------
visit me at http://www.robshouse.net
Comments
What theme? Any modifications
What theme? Any modifications?
Pushbutton
I've modified the theme but the 1 was there from the getgo.
- Robert Douglass
-----
visit me at www.robshouse.net
Found it
This
$picture = theme('user_picture', $node)from xtemplate.engine was returning '1' due to a syntax error I had made during hacking. I removed the code from the if condition where it is currently found and put it on its own line, which fixed the problem.- Robert Douglass
-----
visit me at www.robshouse.net