aboutsummaryrefslogtreecommitdiff
path: root/actions/email
diff options
context:
space:
mode:
Diffstat (limited to 'actions/email')
-rw-r--r--actions/email/save.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/email/save.php b/actions/email/save.php
index 97065d8b4..08fcc7647 100644
--- a/actions/email/save.php
+++ b/actions/email/save.php
@@ -5,7 +5,7 @@
* @package Elgg
* @subpackage Core
* @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
- * @author
+ * @author Marcus Povey
* @copyright Curverider Ltd 2008
* @link http://elgg.org/
*/
@@ -22,7 +22,7 @@
if (!$user_id)
$user = $_SESSION['user'];
else
- $user = get_entity($user_guid);
+ $user = get_entity($user_id);
if ($user)
{