From 36f9c299679d7d61c4046f95a63e341451a14484 Mon Sep 17 00:00:00 2001 From: hyzboy Date: Sun, 11 Sep 2016 21:22:02 +0400 Subject: [PATCH] =?UTF-8?q?CreateInputGroup=E6=95=B0=E6=8D=AE=E9=95=BF?= =?UTF-8?q?=E5=BA=A6=E5=8F=82=E6=95=B0=E6=94=B9=E4=B8=BA=E5=8F=AF=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- form/form_editbox.php | 4 +++- tools.php | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/form/form_editbox.php b/form/form_editbox.php index a16c92d..50e16fd 100644 --- a/form/form_editbox.php +++ b/form/form_editbox.php @@ -83,7 +83,9 @@ $edit->type =func_get_arg(0); $edit->name =func_get_arg(1); $edit->label =func_get_arg(2); - $edit->size =func_get_arg(3); + + if(func_num_args()>3) + $edit->size =func_get_arg(3); if(func_num_args()>4) $edit->place_holder=func_get_arg(4); diff --git a/tools.php b/tools.php index 9e07f2c..d8db5cf 100644 --- a/tools.php +++ b/tools.php @@ -46,7 +46,7 @@ function echo_page_header($header,$subtext) { - echo ''; + echo ''; } function echo_html_end()