[LON-CAPA-cvs] cvs: loncom /interface lonpopulate.pm

raeburn lon-capa-cvs@mail.lon-capa.org
Tue, 07 Feb 2006 22:15:59 -0000


raeburn		Tue Feb  7 17:15:59 2006 EDT

  Modified files:              
    /loncom/interface	lonpopulate.pm 
  Log:
  lonnet::get() expects array reference as second argument.
  
  
Index: loncom/interface/lonpopulate.pm
diff -u loncom/interface/lonpopulate.pm:1.35 loncom/interface/lonpopulate.pm:1.36
--- loncom/interface/lonpopulate.pm:1.35	Tue Feb  7 11:21:26 2006
+++ loncom/interface/lonpopulate.pm	Tue Feb  7 17:15:56 2006
@@ -1,5 +1,5 @@
 # automated enrollment configuration handler
-# $Id: lonpopulate.pm,v 1.35 2006/02/07 16:21:26 albertel Exp $
+# $Id: lonpopulate.pm,v 1.36 2006/02/07 22:15:56 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2372,7 +2372,7 @@
     my ($ownername,$owneremail);
     if ($owner) {
         $ownername=&Apache::loncommon::plainname($owner,$dom,'firstname');
-        my %ownerinfo = &Apache::lonnet::get('environment','permanentemail',
+        my %ownerinfo = &Apache::lonnet::get('environment',['permanentemail'],
 					     $dom,$owner);
         $owneremail = $ownerinfo{'permanentemail'};
     }