webtechnick / CakePHP-Facebook-Plugin

CakePHP Facebook Plugin
http://facebook.webtechnick.com
445 stars 138 forks source link

1.3 Branch createUser issue #77

Closed rdenniston closed 12 years ago

rdenniston commented 12 years ago

I am having a problem with line 146 here:

https://github.com/webtechnick/CakePHP-Facebook-Plugin/blob/cakephp1.3/controllers/components/connect.php

basically, even if i set createUser to false within the component itself (line 50), the block still executes to create the user, which is EXACTLY what i DONT want to happen. Worst part is, if i put this after line 146:

print "authUser: ".empty($this->authUser)." createUser: ".$this->createUser;

it prints:

authUser: 1 createUser: false

which is even crazier to me! elseif( 1 && false) should not execute and thus not print!!! at this point I am just confused. I'm hoping some different eyes can look at it and let me know what you think. :)