diff --git a/libraries/cms/form/field/user.php b/libraries/cms/form/field/user.php
index 6e433a5b11e05..82ce583490c05 100644
--- a/libraries/cms/form/field/user.php
+++ b/libraries/cms/form/field/user.php
@@ -76,7 +76,9 @@ protected function getInput()
// Handle the special case for "current".
elseif (strtoupper($this->value) == 'CURRENT')
{
- $table->load(JFactory::getUser()->id);
+ // 'CURRENT' is not a reasonable value to be placed in the html
+ $this->value = JFactory::getUser()->id;
+ $table->load($this->value);
}
else
{
@@ -99,7 +101,7 @@ protected function getInput()
$html[] = '';
// Create the real field, hidden, that stored the user id.
- $html[] = '';
+ $html[] = '';
return implode("\n", $html);
}