--- a/web/wp-content/plugins/event-calendar/eventcalendar3.php Tue Feb 02 10:08:39 2010 +0000
+++ b/web/wp-content/plugins/event-calendar/eventcalendar3.php Tue Feb 02 12:01:17 2010 +0000
@@ -132,7 +132,7 @@
/** Rewrite date restrictions if the query is day- or category- specific. */
-function ec3_filter_posts_where(&$where)
+function ec3_filter_posts_where($where)
{
global $ec3,$wp_query,$wpdb;
@@ -225,7 +225,7 @@
}
/** */
-function ec3_filter_posts_join(&$join)
+function ec3_filter_posts_join($join)
{
global $ec3,$wpdb;
// The necessary joins are decided upon in ec3_filter_posts_where().
@@ -239,7 +239,7 @@
}
/** Change the order of event listings (only advanced mode). */
-function ec3_filter_posts_orderby(&$orderby)
+function ec3_filter_posts_orderby($orderby)
{
global $ec3, $wpdb;
if($ec3->order_by_start)
@@ -263,7 +263,7 @@
/** Eliminate double-listings for posts with >1 scheduled event. */
-function ec3_filter_posts_groupby(&$groupby)
+function ec3_filter_posts_groupby($groupby)
{
global $ec3,$wpdb;
if($ec3->join_ec3_sch || $ec3->order_by_start)
@@ -278,7 +278,7 @@
/** Add a sched_id field, if we want a listing. */
-function ec3_filter_posts_fields(&$fields)
+function ec3_filter_posts_fields($fields)
{
global $ec3;
if($ec3->is_listing && ($ec3->join_ec3_sch || $ec3->order_by_start))