X-Original-To: pgsql-www-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id AFB2814B2921 for ; Thu, 12 Aug 2004 04:39:21 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 02127-06 for ; Thu, 12 Aug 2004 07:39:13 +0000 (GMT) Received: from anchor-post-32.mail.demon.net (anchor-post-32.mail.demon.net [194.217.242.90]) by svr1.postgresql.org (Postfix) with ESMTP id CEF1314B2806 for ; Thu, 12 Aug 2004 04:39:11 -0300 (ADT) Received: from mailgate.vale-housing.co.uk ([80.176.1.146] helo=ratbert.vale-housing.co.uk) by anchor-post-32.mail.demon.net with esmtp (Exim 3.35 #1) id 1BvAB6-00091X-0W for pgsql-www@postgresql.org; Thu, 12 Aug 2004 07:39:12 +0000 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Subject: Re: Event item duplication Date: Thu, 12 Aug 2004 08:39:10 +0100 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [pgsql-www] Event item duplication Thread-Index: AcR/104dFt+QYLHcQ4+z2TjD9/H7awAZmfhg From: "Dave Page" To: "Robert Treat" , "Josh Berkus" Cc: "Bruce Momjian" , "PostgreSQL www" X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests=HTML_MESSAGE X-Spam-Level: X-Archive-Number: 200408/97 X-Sequence-Number: 4872 =20 > -----Original Message----- > From: pgsql-www-owner@postgresql.org=20 > [mailto:pgsql-www-owner@postgresql.org] On Behalf Of Robert Treat > Sent: 11 August 2004 19:35 > To: Josh Berkus > Cc: Bruce Momjian; PostgreSQL www > Subject: Re: [pgsql-www] Event item duplication >=20 > I noticed the same thing last night and figured someone was=20 > editing it... well, for some reason the event page is not=20 > rebuilding properly, though I don't see anything particularly=20 > wrong with it...Dave, do you see anything in the logs? I've=20 > manually hacked it for now, let's see if the problem comes back. It's caused by this:=20=20=20 // The following line was added by Devrim on July, 29th, 2003 if ($summary !=3D $details) { $data .=3D str_replace("\n", "
", $summary); $data .=3D "
"; } $data .=3D str_replace("\n", "
", $details); In other words, unless the summary is identical to the main body, it will display both. I'm not sure why Devrim added that, but there was probably what seemed like a good reason at the time. I've changed it to only display the summary if there is no body (as per the news). Regards, Dave.