From 1e3fb105393a1dd4eeb2c8b43df6e4460cda96ee Mon Sep 17 00:00:00 2001 From: ioguix Date: Sat, 15 Sep 2007 13:53:05 +0000 Subject: [PATCH] fix a php notice when altering a col with a type without length --- colproperties.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/colproperties.php b/colproperties.php index 0ff01302..66d5c065 100644 --- a/colproperties.php +++ b/colproperties.php @@ -154,7 +154,7 @@ doProperties($lang['strcolneedsname']); return; } - + if (!isset($_REQUEST['length'])) $_REQUEST['length'] = ''; $status = $data->alterColumn($_REQUEST['table'], $_REQUEST['column'], $_REQUEST['field'], isset($_REQUEST['notnull']), isset($_REQUEST['oldnotnull']), $_REQUEST['default'], $_REQUEST['olddefault'], -- 2.39.5