--- loncom/homework/bridgetask.pm 2007/08/02 00:42:35 1.235 +++ loncom/homework/bridgetask.pm 2007/08/03 23:29:57 1.236 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # definition of tags that give a structure to a document # -# $Id: bridgetask.pm,v 1.235 2007/08/02 00:42:35 albertel Exp $ +# $Id: bridgetask.pm,v 1.236 2007/08/03 23:29:57 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -2161,9 +2161,7 @@ sub get_dim_id { sub get_id { my ($parstack,$safeeval)=@_; - my $id=&Apache::lonxml::get_param('id',$parstack,$safeeval); - if (!$id) { $id=$Apache::lonxml::curdepth; } - return $id; + return &Apache::lonxml::get_id($parstack,$safeeval); } sub start_Setup {