Vergleich inc/functions_user.php - 1.4.9 - 1.4.14

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 527Zeile 527
	}

// Update number of unread messages.

	}

// Update number of unread messages.

	if($count_to_update & 2)

	if($count_to_update & 2 && $db->field_exists("unreadpms", "users") == true)

	{
$query = $db->simple_select("privatemessages", "COUNT(pmid) AS pms_unread", "uid='".$uid."' AND status='0' AND folder='1'");
$unread = $db->fetch_array($query);

	{
$query = $db->simple_select("privatemessages", "COUNT(pmid) AS pms_unread", "uid='".$uid."' AND status='0' AND folder='1'");
$unread = $db->fetch_array($query);