cvs: phpweb / bugs.php

From: Date: Sun, 15 Jul 2001 00:48:17 +0000
Subject: cvs: phpweb / bugs.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-5562@lists.php.net to get a copy of this message
jimw Sat Jul 14 20:48:17 2001 EDT Modified files: /phpweb bugs.php Log: fix bug causing status to get lost, and a minor bug that caused the summary to be reported as changed when it contained ' Index: phpweb/bugs.php diff -u phpweb/bugs.php:1.164 phpweb/bugs.php:1.165 --- phpweb/bugs.php:1.164 Sat Jul 14 14:01:25 2001 +++ phpweb/bugs.php Sat Jul 14 20:48:17 2001 @@ -250,7 +250,7 @@ } elseif (incoming_details_are_valid()) { /* update bug record */ - $success = @mysql_query("UPDATE bugdb SET status='$estatus', bug_type='$bug_type', php_version='$php_version', php_os='$php_os', ts2=NOW(), email='$email' WHERE id=$id"); + $success = @mysql_query("UPDATE bugdb SET status='$status', bug_type='$bug_type', php_version='$php_version', php_os='$php_os', ts2=NOW(), email='$email' WHERE id=$id"); /* add comment */ if ($success && !empty($ncomment)) { @@ -284,7 +284,7 @@ $text.= "Reported By: $original[email]\n"; - if ($sdesc != $original[sdesc]) + if (stripslashes($sdesc) != $original[sdesc]) $text .= "Old Summary: $original[sdesc]\n"; if ($status!=$original[status])

« previous php.mirrors (#5562) next »