cvs: pearweb /include/election pear-election-accountrequest.php
| From: | Greg Beaver | Date: | Sun, 03 Dec 2006 20:04:17 +0000 |
| Subject: | cvs: pearweb /include/election pear-election-accountrequest.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-5242@lists.php.net to get a copy of this message | ||
cellog Sun Dec 3 20:04:17 2006 UTC
Modified files:
/pearweb/include/election pear-election-accountrequest.php
Log:
fix confirmation - we were passing in an object which results in \"\"
http://cvs.php.net/viewvc.cgi/pearweb/include/election/pear-election-accountrequest.php?r1=1.1&r2=1.2&diff_format=u
Index: pearweb/include/election/pear-election-accountrequest.php
diff -u pearweb/include/election/pear-election-accountrequest.php:1.1
pearweb/include/election/pear-election-accountrequest.php:1.2
--- pearweb/include/election/pear-election-accountrequest.php:1.1 Sun Dec 3 06:14:45 2006
+++ pearweb/include/election/pear-election-accountrequest.php Sun Dec 3 20:04:17 2006
@@ -114,7 +114,7 @@
$id = $this->dbh->nextId("karma");
$query = "INSERT INTO karma VALUES (?, ?, ?, ?, NOW())";
- $sth = $this->dbh->query($query, array($id, $user, 'pear.voter',
'pearweb'));
+ $sth = $this->dbh->query($query, array($id, $this->handle, 'pear.voter',
'pearweb'));
if (!DB::isError($sth)) {
note::add("uid", $this->handle, "Account opened",
'pearweb');