svn: /pear/packages/Bugtracker/trunk/site/ rpc.php

From: Date: Tue, 02 Mar 2010 22:20:21 +0000
Subject: svn: /pear/packages/Bugtracker/trunk/site/ rpc.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-core+get-9241@lists.php.net to get a copy of this message
rasmus Tue, 02 Mar 2010 22:20:21 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=295751 Log: There is no handle in the schema - no idea where this came from Changed paths: U pear/packages/Bugtracker/trunk/site/rpc.php Modified: pear/packages/Bugtracker/trunk/site/rpc.php =================================================================== --- pear/packages/Bugtracker/trunk/site/rpc.php 2010-03-02 22:16:24 UTC (rev 295750) +++ pear/packages/Bugtracker/trunk/site/rpc.php 2010-03-02 22:20:21 UTC (rev 295751) @@ -39,9 +39,9 @@ $user = htmlspecialchars(trim($_POST['user'])); $ncomment = htmlspecialchars(trim($_POST['ncomment'])); $res = $dbh->prepare(" - INSERT INTO bugdb_comments (bug, email, ts, comment, reporter_name, handle, comment_type) + INSERT INTO bugdb_comments (bug, email, ts, comment, reporter_name, comment_type) VALUES (?, ?, NOW(), ?, ?, ?, 'svn') - ")->execute(array ($bug_id, "{$user}@php.net", $ncomment, $user, $user)); + ")->execute(array ($bug_id, "{$user}@php.net", $ncomment, $user)); if ($res) { echo json_encode(array('result' => array('status' => $bug)));

« previous php.pear.core (#9241) next »