Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix a minor issue on social_hub demo

  • Loading branch information...
commit a3d177ef576a10b2464007867b733d6205658849 1 parent f420b8a
hybridauth authored
View
2  examples/social_hub/login.php
@@ -1,4 +1,4 @@
-<?php
+<?php
session_start();
// change the following paths if necessary
View
9 examples/social_hub/profile.php
@@ -59,6 +59,9 @@
<link rel="stylesheet" href="public/css.css" type="text/css">
</head>
<body>
+<?php
+ if( $user_data ){
+?>
<table width="90%" border="0" cellpadding="2" cellspacing="2">
<tr>
<td valign="top">
@@ -178,7 +181,7 @@
</td>
</tr>
</table>
- </fieldset>
+ </fieldset>
</td>
<td valign="top" width="250" align="left">
<?php
@@ -186,8 +189,10 @@
?>
</td>
</tr>
-</table>
+</table>
<?php
+ } // if( $user_data )
+
include "includes/debugger.php";
?>
</body>
Please sign in to comment.
Something went wrong with that request. Please try again.