Index: sites/default/modules/cck/content_admin.inc
===================================================================
RCS file: /cvs/drupal/contributions/modules/cck/content_admin.inc,v
retrieving revision 1.12.2.7
diff -u -r1.12.2.7 content_admin.inc
--- sites/default/modules/cck/content_admin.inc	21 Aug 2006 13:07:35 -0000	1.12.2.7
+++ sites/default/modules/cck/content_admin.inc	30 Aug 2006 23:45:15 -0000
@@ -952,7 +952,11 @@
  *     default  => NULL|FALSE|value (with or without '', it won't be added)
  */
 function content_db_add_column($table, $column, $type, $attributes = array()) {
-  $type = content_db_construct_column_type($column, $type, $attributes, &$not_null, &$default_val, &$default);
+  // Initializing variables to be passed by reference.
+  $not_null = NULL;
+  $default_val = NULL;
+  $default = NULL;
+  $type = content_db_construct_column_type($column, $type, $attributes, $not_null, $default_val, $default);
 
   switch ($GLOBALS['db_type']) {
     case 'pgsql':
@@ -997,7 +1001,11 @@
  *     default  => NULL|FALSE|value (with or without '', it won't be added)
  */
 function content_db_change_column($table, $column, $column_new, $type, $attributes = array()) {
-  $type = content_db_construct_column_type($column_new, $type, $attributes, &$not_null, &$default_val, &$default);
+  // Initializing variables to be passed by reference.
+  $not_null = NULL;
+  $default_val = NULL;
+  $default = NULL;
+  $type = content_db_construct_column_type($column_new, $type, $attributes, $not_null, $default_val, $default);
 
   switch ($GLOBALS['db_type']) {
     case 'pgsql':
