From cf6a430d107c24a56bdb660134ecfac1d44754d1 Mon Sep 17 00:00:00 2001 From: iglocska Date: Mon, 3 Mar 2014 14:18:26 +0100 Subject: [PATCH] The list of contributors no longer show the logo of an org that hasn't made a proposal - Until now, organisations that have made any change to an event in the past (even including an admin running scripts that update the event) would flag an event as having an extra contributor - From now on, the Contributors field only shows orgs that have created proposals --- app/Controller/EventsController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Controller/EventsController.php b/app/Controller/EventsController.php index e27488baf..c4dd85ded 100755 --- a/app/Controller/EventsController.php +++ b/app/Controller/EventsController.php @@ -228,7 +228,7 @@ class EventsController extends AppController { $this->loadModel('Log'); $logEntries = $this->Log->find('all', array( - 'conditions' => array('title LIKE' => '%Event (' . $id . ')%', 'org !=' => $results[0]['Event']['orgc']), + 'conditions' => array('title LIKE' => '%Event (' . $id . ')%', 'org !=' => $results[0]['Event']['orgc'], 'model LIKE' => '%ShadowAttribute%'), 'fields' => array('org'), 'group' => 'org' ));