From 3675e864975196d0bf5349a7ff4d82dad95bcba6 Mon Sep 17 00:00:00 2001 From: Cesar G Date: Mon, 5 Mar 2012 16:20:28 -0800 Subject: [PATCH] Fix issue with the number of coauthors distorting the type count for owners. --- titania/includes/objects/author.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/titania/includes/objects/author.php b/titania/includes/objects/author.php index 5d311bb52..86272efae 100644 --- a/titania/includes/objects/author.php +++ b/titania/includes/objects/author.php @@ -341,7 +341,7 @@ public function assign_details($return = false, $row= false, $revert = true) 'LEFT_JOIN' => array( array( 'FROM' => array(TITANIA_CONTRIB_COAUTHORS_TABLE => 'ca'), - 'ON' => 'ca.contrib_id = c.contrib_id', + 'ON' => 'ca.contrib_id = c.contrib_id AND ca.user_id = ' . $this->user_id, ), ),