com web/master: Typo, it's PDOStatement::execute() not PDOStatement::exucute(). I blame me. You can blame me too.: fetch/user-notes.php
| From: | Sherif Ramadan | Date: | Wed, 12 Dec 2012 19:40:39 +0000 |
| Subject: | com web/master: Typo, it's PDOStatement::execute() not PDOStatement::exucute(). I blame me. You can blame me too.: fetch/user-notes.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-15067@lists.php.net to get a copy of this message | ||
Commit: 4696f8e744563abdc7c6612f894da85ff2f6b47e
Author: Sherif Ramadan <googleguy@php.net> Wed, 12 Dec 2012 14:40:39 -0500
Parents: affabf37e0dfa8f66b9dc0adda4ab993484ca92f
Branches: master
Link: http://git.php.net/?p=web/master.git;a=commitdiff;h=4696f8e744563abdc7c6612f894da85ff2f6b47e
Log:
Typo, it's PDOStatement::execute() not PDOStatement::exucute(). I blame me. You can blame me
too.
Changed paths:
M fetch/user-notes.php
Diff:
diff --git a/fetch/user-notes.php b/fetch/user-notes.php
index 78e77b2..b24ecd5 100644
--- a/fetch/user-notes.php
+++ b/fetch/user-notes.php
@@ -44,7 +44,7 @@ foreach ($resultset as $row) {
}
// Calculate the votes for each note here
try {
- $getvotes->exucute(array($row['id']));
+ $getvotes->execute(array($row['id']));
$votes = $getvotes->fetch(PDO::FETCH_ASSOC);
if ($votes === false) {
$votes = array('up' => 0, 'down' => 0);