clockwerx Mon, 13 Jul 2009 08:33:12 +0000 ViewVC URL: http://svn.php.net/viewvc?view=revision&revision=283999
Changed paths: U pear/pearweb/trunk/include/pepr/pepr.php Log: Bug #16410 Rejected PEPr proposals should not steal names * Dropped restrictions around 'the same user must be the re-proposer' Modified: pear/pearweb/trunk/include/pepr/pepr.php =================================================================== --- pear/pearweb/trunk/include/pepr/pepr.php 2009-07-13 08:30:39 UTC (rev 283998) +++ pear/pearweb/trunk/include/pepr/pepr.php 2009-07-13 08:33:12 UTC (rev 283999) @@ -356,9 +356,7 @@ if (!$this->id) { $this->id = 0; } - if ($handle != $this->user_handle) { - return false; - } + if ($checkid) { $test = $dbh->getOne('SELECT id FROM package_proposals WHERE pkg_category = ? AND pkg_name = ? AND user_handle = ? AND id <> ?', array($this->pkg_category, -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php