diff --git a/calendar/setup/tables_baseline.inc.php b/calendar/setup/tables_baseline.inc.php index e114e0e208..105e05dc01 100644 --- a/calendar/setup/tables_baseline.inc.php +++ b/calendar/setup/tables_baseline.inc.php @@ -26,7 +26,7 @@ "cal_type" => array("type" => "varchar", "precision" => 10), "cal_access" => array("type" => "char", "precision" => 10), "cal_name" => array("type" => "varchar", "precision" => 80, "nullable" => false), - "cal_description" => array("type" => "text"), + "cal_description" => array("type" => "text") ), "pk" => array("cal_id"), "fk" => array(), @@ -66,6 +66,6 @@ "fk" => array(), "ix" => array(), "uc" => array() - ), + ) ); ?> diff --git a/calendar/setup/tables_update.inc.php b/calendar/setup/tables_update.inc.php index 24284d601f..0901651c03 100644 --- a/calendar/setup/tables_update.inc.php +++ b/calendar/setup/tables_update.inc.php @@ -13,7 +13,7 @@ function calendar_v0_9_2to0_9_3update_owner($table, $field) { - global $phpgw_setup, $phpgw_setup; + global $phpgw_setup; $phpgw_setup->oProc->query("select distinct($field) from $table"); if ($phpgw_setup->oProc->num_rows())