[LON-CAPA-cvs] cvs: nsdl / lonsql
www
lon-capa-cvs@mail.lon-capa.org
Fri, 18 Nov 2005 22:34:22 -0000
www Fri Nov 18 17:34:22 2005 EDT
Modified files:
/nsdl lonsql
Log:
Syntax error
Index: nsdl/lonsql
diff -u nsdl/lonsql:1.4 nsdl/lonsql:1.5
--- nsdl/lonsql:1.4 Thu Nov 17 17:51:59 2005
+++ nsdl/lonsql Fri Nov 18 17:34:21 2005
@@ -3,7 +3,7 @@
# The LearningOnline Network
# lonsql - LON TCP-NSDL Query Handler.
#
-# $Id: lonsql,v 1.4 2005/11/17 22:51:59 www Exp $
+# $Id: lonsql,v 1.5 2005/11/18 22:34:21 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -868,7 +868,7 @@
} elsif ($token->[0] eq 'S') {
if ($token->[1] eq 'record') {
%result=();
- } elsif ($token->[1]=/^dc\:/) {
+ } elsif ($token->[1]=~/^dc\:/) {
$is=$token->[1];
$cont='';
}
@@ -877,7 +877,7 @@
#
# Now store it away
#
- } elsif ($token->[1]=/^dc\:/) {
+ } elsif ($token->[1]=~/^dc\:/) {
$result{$is}=$cont;
}
}