From: jitendrapurohit Date: Thu, 19 Nov 2015 11:04:22 +0000 (+0530) Subject: minor fix X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=c818378ef6ba3818f4e121313bf884296ada414b;p=civicrm-core.git minor fix --- diff --git a/CRM/Event/BAO/Event.php b/CRM/Event/BAO/Event.php index d499e45c74..cd7c33288e 100644 --- a/CRM/Event/BAO/Event.php +++ b/CRM/Event/BAO/Event.php @@ -381,10 +381,6 @@ WHERE civicrm_event.is_active = 1 AND } // Get the event summary display preferences $show_max_events = Civi::settings()->get('show_events'); - // default to 10 if no option is set - if (is_null($show_max_events)) { - $show_max_events = 10; - } // show all events if show_events is set to a negative value if ($show_max_events >= 0) { $event_summary_limit = "LIMIT 0, $show_max_events";