This is exactly what I was hoping to find. I'm not big on hacks that do more than I need, so this nice simple one is perfect!
One little comment, it works great, but I am getting an error email everytime I save a plugin:
Code:
Invalid SQL:
UPDATE session
SET inforum = 0, inthread = 0, incalendar = 0, badlocation = 0
WHERE sessionhash = '';
MySQL Error :
Error Number :
Date : Friday, November 16th 2007 @ 11:21:06 AM
Script : http://my.site.org/forums/admincp/plugin.php?do=update
Referrer : http://my.site.org/forums/admincp/plugin.php?do=edit&pluginid=82
Anyone else get these? Like I said, everything works just fine, I just get this error showing up in my mailbox.