2 messages in com.mysql.lists.eventum-develRe: patch to class.release.php
FromSent OnAttachments
Scott Wilson31 May 2005 00:56 
Bryan Alsdorf31 May 2005 10:38 
Subject:Re: patch to class.release.php
From:Bryan Alsdorf (bry@mysql.com)
Date:05/31/2005 10:38:21 AM
List:com.mysql.lists.eventum-devel

Hi Scott

Scott Wilson wrote:

Hi, I'm attaching a very minor patch to the release class. It fixes a bug whereby the status post variable is incorrectly parsed and prevents updating the status of a release.

This was fixed a while back but has not been released yet. It will be in our next release. Thanks for the patch though.

Regards, /bryan

cheers,

scott

--- eventum-1.5.3/include/class.release.php.orig Thu Apr 21 17:57:08 2005 +++ eventum-1.5.3/include/class.release.php Tue May 31 03:35:59 2005 @@ -209,7 +209,7 @@ SET pre_title='" . Misc::escapeString($HTTP_POST_VARS["title"]) . "', pre_scheduled_date='" . Misc::escapeString($scheduled_date) . "', - pre_status='" . Misc::escapeInteger($HTTP_POST_VARS["status"]) . "' + pre_status='" . Misc::escapeString($HTTP_POST_VARS["status"]) . "' WHERE pre_prj_id=" . Misc::escapeInteger($HTTP_POST_VARS["prj_id"]) . " AND pre_id=" . Misc::escapeInteger($HTTP_POST_VARS["id"]);

Are you MySQL certified? www.mysql.com/certification