diff options
author | Madhura Jayaratne <madhura.cj@gmail.com> | 2015-03-11 15:16:03 +0300 |
---|---|---|
committer | Madhura Jayaratne <madhura.cj@gmail.com> | 2015-03-11 15:16:03 +0300 |
commit | 536a9fd0e657386e1af66328654f3f643d180744 (patch) | |
tree | 7c1753ae502cec0722f316ff922b62302617fb6e /db_central_columns.php | |
parent | 80fad9010c974972beffcf33a62c5b3b11897ca2 (diff) |
Use a checkbox for the extra column
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
Diffstat (limited to 'db_central_columns.php')
-rw-r--r-- | db_central_columns.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db_central_columns.php b/db_central_columns.php index aaf3de92c4..6a0369641c 100644 --- a/db_central_columns.php +++ b/db_central_columns.php @@ -22,7 +22,7 @@ if (isset($_POST['edit_save']) || isset($_POST['add_new_column'])) { if ($col_default == 'NONE' && $_POST['col_default_sel'] != 'USER_DEFINED') { $col_default = ""; } - $col_extra = $_POST['col_extra']; + $col_extra = isset($_POST['col_extra']) ? $_POST['col_extra'] : ''; $col_isNull = isset($_POST['col_isNull'])?1:0; $col_length = $_POST['col_length']; $col_attribute = $_POST['col_attribute']; |