Permalink
Browse files

Calling date without using timezone twice

  • Loading branch information...
1 parent cf27cb7 commit c7b4ddc6ab2d4ef3ae6231176a8584173dcd42b2 @chdemko committed Jun 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 libraries/joomla/html/html.php
@@ -823,7 +823,7 @@ public static function calendar($value, $name, $id, $format = '%Y-%m-%d', $attri
else
{
return '<input type="text" title="' . (0 !== (int) $value ? self::_('date', $value, null, null) : '')
- . '" value="' . (0 !== (int) $value ? htmlspecialchars($value, ENT_COMPAT, 'UTF-8') : '') . '" ' . $attribs
+ . '" value="' . (0 !== (int) $value ? self::_('date', $value, null, null) : '') . '" ' . $attribs
. ' /><input type="hidden" name="' . $name . '" id="' . $id . '" value="' . htmlspecialchars($value, ENT_COMPAT, 'UTF-8') . '" />';
}
}

0 comments on commit c7b4ddc

Please sign in to comment.