Fixed error of php

This commit is contained in:
m-lopez-f 2015-12-21 10:13:39 +01:00
parent 4180f2e344
commit a168136750
1 changed files with 1 additions and 0 deletions

View File

@ -944,6 +944,7 @@ function html_print_input_text ($name, $value, $alt = '', $size = 50, $maxlength
if ($size == 0)
$size = 10;
$attr = array();
if ($required)
$attr = array('required' => 'required');