Commit:    4696f8e744563abdc7c6612f894da85ff2f6b47e
Author:    Sherif Ramadan <[email protected]>         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);


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to