Merge pull request #99 from sparksp/aeae2c8476523f1551825afcc17323c4b88d22c5

Secure extracts
This commit is contained in:
Taylor Otwell
2011-10-05 21:26:35 -07:00
2 changed files with 2 additions and 2 deletions

View File

@@ -89,7 +89,7 @@ class Grammar {
foreach ($query->joins as $join)
{
extract($join);
extract($join, EXTR_SKIP);
list($column1, $column2) = array($this->wrap($column1), $this->wrap($column2));

View File

@@ -30,7 +30,7 @@ class Cookie implements Driver {
*/
public function save($session, $config, $exists)
{
extract($config);
extract($config, EXTR_SKIP);
$payload = Crypter::encrypt(serialize($session));