--- loncom/lonnet/perl/lonnet.pm	2001/03/22 15:14:42	1.114
+++ loncom/lonnet/perl/lonnet.pm	2001/03/22 16:13:22	1.115
@@ -1251,7 +1251,7 @@ sub metadata_query {
     }
     else {
 	my $reply=&reply("querysend:".&escape($query).':'.
-			 &escape($customquery),'msul3');
+			 &escape($custom),'msul3');
 	return $reply;
     }
     my ($query)=@_;