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

drumm’s picture

What theme? Any modifications?

robertdouglass’s picture

I've modified the theme but the 1 was there from the getgo.

- Robert Douglass

-----
visit me at www.robshouse.net

robertdouglass’s picture

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