I get this notice of undefined variable comment_count on line 740 in authcache.module

I've comments disabled on the site, so indeed comment_count is not defined.
Wrapping it in isset() like so:

if ($user->uid && isset($node->comment_count)) 

seems to fix it.

Comments

simg’s picture

applied to dev version, thanks :)

simg’s picture

Status: Active » Closed (fixed)