Skip to content

Commit a8bdf75

Browse files
Merge pull request #185 from CCALI/152-remove-email-intval-cast
remove intval cast around email
2 parents ef17f9a + 3b3bdb4 commit a8bdf75

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CAJA_WS.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
drupal_bootstrap(DRUPAL_BOOTSTRAP_SESSION);
6969

7070
$userid = intval($user->uid);
71-
$user_email = intval($user->email);
71+
$user_email = $user->email;
7272
$canAuthor = in_array('a2j author', array_values($user->roles));
7373
} else {
7474
// Running locally, just use demo or devuser (26 ,45 for a2jauthor.org).

0 commit comments

Comments
 (0)