[LON-CAPA-cvs] cvs: loncom /metadata_database searchcat.pl
raeburn
raeburn at source.lon-capa.org
Thu Jan 16 08:31:31 EST 2014
raeburn Thu Jan 16 13:31:31 2014 EDT
Modified files:
/loncom/metadata_database searchcat.pl
Log:
- Prevent "Can't use string as an ARRAY ref" error.
Index: loncom/metadata_database/searchcat.pl
diff -u loncom/metadata_database/searchcat.pl:1.81 loncom/metadata_database/searchcat.pl:1.82
--- loncom/metadata_database/searchcat.pl:1.81 Thu Aug 22 09:30:21 2013
+++ loncom/metadata_database/searchcat.pl Thu Jan 16 13:31:31 2014
@@ -2,7 +2,7 @@
# The LearningOnline Network
# searchcat.pl "Search Catalog" batch script
#
-# $Id: searchcat.pl,v 1.81 2013/08/22 09:30:21 bisitz Exp $
+# $Id: searchcat.pl,v 1.82 2014/01/16 13:31:31 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -374,7 +374,7 @@
my $hostname = &Apache::lonnet::hostname($lonhost);
my $replytoaddress = 'do-not-reply@'.$hostname;
$msg->add('Reply-to',$replytoaddress);
- $msg->add('From',"www@$hostname");
+ $msg->add('From','www@'.$hostname);
$msg->add('Content-type','text/plain; charset=UTF-8');
if (my $fh = $msg->open()) {
print $fh
More information about the LON-CAPA-cvs
mailing list