Retrieve email from current user object
This commit is contained in:
@@ -2,11 +2,9 @@
|
|||||||
/************************************/
|
/************************************/
|
||||||
/* code to Submit a new application */
|
/* code to Submit a new application */
|
||||||
/************************************/
|
/************************************/
|
||||||
|
|
||||||
# ENVIRONMENT AND HEADER
|
|
||||||
include("path.php");
|
include("path.php");
|
||||||
require(BASE."include/"."incl.php");
|
require(BASE."include/incl.php");
|
||||||
require(BASE."include/"."tableve.php");
|
require(BASE."include/tableve.php");
|
||||||
|
|
||||||
// Send user to the correct branch of code even if they try to bypass
|
// Send user to the correct branch of code even if they try to bypass
|
||||||
// the first page (appsubmit.php without parameters)
|
// the first page (appsubmit.php without parameters)
|
||||||
@@ -107,7 +105,7 @@ else if (isset($_REQUEST['apptype']))
|
|||||||
{
|
{
|
||||||
// set email field if logged in
|
// set email field if logged in
|
||||||
if ($_SESSION['current']->isLoggedIn())
|
if ($_SESSION['current']->isLoggedIn())
|
||||||
$email = $_SESSION['current']->lookup_email($_SESSION['current']->userid);
|
$email = $_SESSION['current']->sEmail;
|
||||||
|
|
||||||
// header
|
// header
|
||||||
apidb_header("Submit Application");
|
apidb_header("Submit Application");
|
||||||
|
|||||||
Reference in New Issue
Block a user