[LON-CAPA-cvs] cvs: loncom /lonnet/perl lonnet.pm
albertel
lon-capa-cvs-allow@mail.lon-capa.org
Sat, 08 Dec 2007 00:28:28 -0000
albertel Fri Dec 7 19:28:28 2007 EDT
Modified files:
/loncom/lonnet/perl lonnet.pm
Log:
- need to use get_reply when return parm values from ext to get the array/scalar decsision correct
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.930 loncom/lonnet/perl/lonnet.pm:1.931
--- loncom/lonnet/perl/lonnet.pm:1.930 Wed Dec 5 15:08:52 2007
+++ loncom/lonnet/perl/lonnet.pm Fri Dec 7 19:28:27 2007
@@ -1,7 +1,7 @@
# The LearningOnline Network
# TCP networking package
#
-# $Id: lonnet.pm,v 1.930 2007/12/05 20:08:52 albertel Exp $
+# $Id: lonnet.pm,v 1.931 2007/12/08 00:28:27 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -6612,7 +6612,7 @@
([$courselevelr,'resource'],
[$courselevelm,'map' ],
[$courselevel, 'course' ]));
- if (defined($userreply)) { return $userreply; }
+ if (defined($userreply)) { return &get_reply($userreply); }
# ------------------------------------------------ second, check some of course
my $coursereply;