summaryrefslogtreecommitdiffstats
path: root/examples/consumer/common.php
diff options
context:
space:
mode:
Diffstat (limited to 'examples/consumer/common.php')
-rw-r--r--examples/consumer/common.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/consumer/common.php b/examples/consumer/common.php
index 5e63fce..2f01ba0 100644
--- a/examples/consumer/common.php
+++ b/examples/consumer/common.php
@@ -68,7 +68,8 @@ function &getConsumer() {
* earlier.
*/
$store = getStore();
- return new Auth_OpenID_Consumer($store);
+ $consumer =& new Auth_OpenID_Consumer($store);
+ return $consumer;
}
function getScheme() {