[LON-CAPA-cvs] cvs: loncom /interface lonparmset.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Wed, 02 Feb 2005 19:23:59 -0000
albertel Wed Feb 2 14:23:59 2005 EDT
Modified files:
/loncom/interface lonparmset.pm
Log:
- BUG#3886 - currentURL should have the version in it
- build a symb using encode_symb, otherwise you are likely to get it wrong
Index: loncom/interface/lonparmset.pm
diff -u loncom/interface/lonparmset.pm:1.180 loncom/interface/lonparmset.pm:1.181
--- loncom/interface/lonparmset.pm:1.180 Mon Dec 6 16:41:01 2004
+++ loncom/interface/lonparmset.pm Wed Feb 2 14:23:59 2005
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler to set parameters for assessments
#
-# $Id: lonparmset.pm,v 1.180 2004/12/06 21:41:01 albertel Exp $
+# $Id: lonparmset.pm,v 1.181 2005/02/02 19:23:59 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -631,9 +631,7 @@
$$maptitles{$mapid}=&Apache::lonnet::gettitle(&Apache::lonnet::clutter($$mapp{$id}));
}
$$maptitles{$$mapp{$id}}=$$maptitles{$mapid};
- $$symbp{$id}=$$mapp{$id}.
- '___'.$resid.'___'.
- &Apache::lonnet::declutter($srcf);
+ $$symbp{$id}=&Apache::lonnet::encode_symb($$mapp{$id},$resid,$srcf);
$$symbp{$mapid}=$$mapp{$id}.'___(all)';
}
}