[LON-CAPA-cvs] cvs: loncom /html/adm/helper parameter.helper

bowersj2 lon-capa-cvs@mail.lon-capa.org
Thu, 29 May 2003 16:38:01 -0000


bowersj2		Thu May 29 12:38:01 2003 EDT

  Modified files:              
    /loncom/html/adm/helper	parameter.helper 
  Log:
  Half of a fix for bug 1511, param helper doesn't work for maps.
  
  
  
Index: loncom/html/adm/helper/parameter.helper
diff -u loncom/html/adm/helper/parameter.helper:1.2 loncom/html/adm/helper/parameter.helper:1.3
--- loncom/html/adm/helper/parameter.helper:1.2	Fri May 16 13:21:33 2003
+++ loncom/html/adm/helper/parameter.helper	Thu May 29 12:38:01 2003
@@ -58,6 +58,7 @@
     <resource variable="RESOURCE_ID">
       <nextstate>CHOOSE_ACTION</nextstate>
       <filterfunc>return $res->is_map()</filterfunc>
+      <valuefunc>return $res->map_pc();</valuefunc>
       </resource>
     </state>