--- loncom/interface/lonmysql.pm 2002/07/30 18:26:40 1.3 +++ loncom/interface/lonmysql.pm 2002/08/05 12:43:18 1.4 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # MySQL utility functions # -# $Id: lonmysql.pm,v 1.3 2002/07/30 18:26:40 matthew Exp $ +# $Id: lonmysql.pm,v 1.4 2002/08/05 12:43:18 matthew Exp $ # # Copyright Michigan State University Board of Trustees # @@ -570,7 +570,7 @@ sub create_table { # skip blank items. push (@Columns,$col_des) if ($col_des ne ''); } - if (exists($table_des->{'fulltext'})) { + if (exists($table_des->{'fulltext'}) && (@{$table_des->{'fulltext'}})) { push (@Columns,'FULLTEXT ('.join(',',@{$table_des->{'fulltext'}}).')'); } $request .= "(".join(", ",@Columns).") ";