forked from extern/egroupware
fix warning ->missing argument 1 for select_widget<- : make the parameter optional by assigning a default value
This commit is contained in:
parent
45468c801a
commit
88c088eb86
@ -75,7 +75,7 @@ class select_widget
|
|||||||
*
|
*
|
||||||
* @param string $ui '' for html
|
* @param string $ui '' for html
|
||||||
*/
|
*/
|
||||||
function select_widget($ui)
|
function select_widget($ui='')
|
||||||
{
|
{
|
||||||
foreach($this->monthnames as $k => $name)
|
foreach($this->monthnames as $k => $name)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user