From 8fdbddca3d0f4712036675d5e32d5db9a8a7931b Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Mon, 5 Oct 2009 23:45:29 +0000 Subject: only counting human viewers now --- lib/image.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/image.php') diff --git a/lib/image.php b/lib/image.php index f782f0386..34b054898 100644 --- a/lib/image.php +++ b/lib/image.php @@ -138,7 +138,7 @@ */ public function addView($viewer_guid) { - if ($viewer_guid != $this->owner_guid) + if ($viewer_guid != $this->owner_guid && tp_is_person()) create_annotation($this->getGUID(), "tp_view", "1", "integer", $viewer_guid, ACCESS_PUBLIC); } } -- cgit v1.2.3