aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/datepicker.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/input/datepicker.php')
-rw-r--r--views/default/input/datepicker.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/views/default/input/datepicker.php b/views/default/input/datepicker.php
index 0687f9e31..4af54096b 100644
--- a/views/default/input/datepicker.php
+++ b/views/default/input/datepicker.php
@@ -8,11 +8,11 @@
*
* @uses $vars['value'] The current value, if any
* @uses $vars['js'] Any Javascript to enter into the input tag
- * @uses $vars['internalname'] The name of the input field
+ * @uses $vars['name'] The name of the input field
*
*/
-$cal_name = sanitise_string($vars['internalname']);
+$cal_name = sanitise_string($vars['name']);
if (isset($vars['class'])) {
$class = "{$vars['class']} popup_calendar";
@@ -28,7 +28,7 @@ if ($vars['value'] > 86400) {
}
?>
-<input type="text" name="<?php echo $vars['internalname']; ?>" value="<?php echo $val; ?>" />
+<input type="text" name="<?php echo $vars['name']; ?>" value="<?php echo $val; ?>" />
<?php //@todo JS 1.8: no ?>
<script type="text/javascript">
$(document).ready(function() {