Wordpress Author URL code

Hello everyone!

I am going through my code and I have this bit of code in my comments file:

<li class="commentl"><font color="<?php echo $fontColor; ?>"> <?php if($avtarClass=='') comment_author();else comment_author_link() ?> </font></li>

The problem I am having is that I do not want the author link to show up at all. I have tried to make the code look like this, but it just breaks it:

<li class="commentl"><font color="<?php echo $fontColor; ?>"> <?php if($avtarClass=='') comment_author() ?> </font></li>

Any idea what I am doing wrong?

Thank you in advanced

Just add “;” after comment_author(). Check the entire code to see if you have another if/else block that will mess this out. Try also to get the messages/errors/warnings php throws out…