diff options
author | ioguix | 2007-07-02 10:23:01 +0000 |
---|---|---|
committer | ioguix | 2007-07-02 10:23:01 +0000 |
commit | 611466b214e1c3d67514cac00b36a6d1d88b37dc (patch) | |
tree | b5181edab805891fad66c2ed1b55b041a40bf835 | |
parent | 4325dc4470f206684551aa6dd40fbc48a1294726 (diff) |
fix a bug about not defined $escaped_predef_types when altering a col in pg < 8.0DEV_RMPHPSELF
-rw-r--r-- | tblproperties.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tblproperties.php b/tblproperties.php index 0333f746..6bd102b6 100644 --- a/tblproperties.php +++ b/tblproperties.php @@ -3,7 +3,7 @@ /** * List tables in a database * - * $Id: tblproperties.php,v 1.72.2.1.2.1 2007/06/16 15:28:43 xzilla Exp $ + * $Id: tblproperties.php,v 1.72.2.1.2.2 2007/07/02 10:23:01 ioguix Exp $ */ // Include application functions @@ -407,6 +407,7 @@ htmlspecialchars($_REQUEST['field']), "\" /></td>"; // Column type + $escaped_predef_types = array(); // the JS escaped array elements if ($data->hasAlterColumnType()) { // Fetch all available types $types = $data->getTypes(true, false, true); @@ -435,7 +436,6 @@ echo "<option value=\"[]\"", ($_REQUEST['array'] == '[]') ? ' selected="selected"' : '', ">[ ]</option>\n"; echo "</select>"; $predefined_size_types = array_intersect($data->predefined_size_types,array_keys($types_for_js)); - $escaped_predef_types = array(); // the JS escaped array elements foreach($predefined_size_types as $value) { $escaped_predef_types[] = "'{$value}'"; } |