Patch: Found a small error in SQL store

Markus Lanthaler markus at silverstripe.com
Tue Jun 19 08:39:14 PDT 2007


Hello,

I found a small error in the SQL store class of the latest PHP library. Here 
is a patch for it:

hunk ./Auth/OpenID/SQLStore.php 164
-                      $this->connection->query("SELECT * FROM
-                                               $table_name));
+            sprintf($this->connection->query("SELECT * FROM %s
+                                            $table_name)));


Cheers,
Markus 




More information about the Dev mailing list