svn: /pear/packages/Bugtracker/trunk/site/ rpc.php
| From: | Derick Rethans | Date: | Tue, 02 Mar 2010 22:38:38 +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-9243@lists.php.net to get a copy of this message | ||
derick Tue, 02 Mar 2010 22:38:38 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=295756
Log:
- Assign the result so that we can send it back with json.
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:36:42 UTC (rev 295755)
+++ pear/packages/Bugtracker/trunk/site/rpc.php 2010-03-02 22:38:38 UTC (rev 295756)
@@ -42,7 +42,7 @@
INSERT INTO bugdb_comments (bug, email, ts, comment, reporter_name, comment_type)
VALUES (?, ?, NOW(), ?, ?, 'svn')
");
- $prep->execute(array ($bug_id, "{$user}@php.net", $ncomment, $user));
+ $res = $prep->execute(array ($bug_id, "{$user}@php.net", $ncomment, $user));
if ($res) {
echo json_encode(array('result' => array('status' => $bug)));