In admin/functions.php
Code:
FIND:
if (is_array($userpostcount)) {
while(list($postuserid,$subtract)=each($userpostcount)) {
$DB_site->query("UPDATE user SET posts=posts$subtract WHERE userid='$postuserid'");
}
}
Code:
REPLACE WITH:
// if (is_array($userpostcount)) {
// while(list($postuserid,$subtract)=each($userpostcount)) {
// $DB_site->query("UPDATE user SET posts=posts$subtract WHERE userid='$postuserid'");
// }
// }
That should take care of the problem for ya