| Issue 74: | LightOpenID magic properties do not work with Twig template engine due to lack of __isset | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Adding the following method to the LightOpenID class will make it work with Twig (http://twig.sensiolabs.org/): function __isset($name) { return in_array($name, array('identity', 'trustRoot', 'realm', 'mode')); } Otherwise it throws errors about "Method "mode" for object "LightOpenID" does not exist". |