Closed (fixed)
Project:
Authenticated User Page Caching (Authcache)
Version:
7.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Jul 2012 at 16:33 UTC
Updated:
21 Jul 2012 at 08:29 UTC
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
Comment #1
simg commentedapplied to dev version, thanks :)
Comment #2
simg commented