Project

General

Profile

« Previous | Next » 

Revision 7700

use correct test for PID param.

View differences:

src/perl/register-dataset.cgi
217 217

  
218 218
# handle pids, set the mapped docid in the FORM params
219 219
# see: https://projects.ecoinformatics.org/ecoinfo/issues/5932
220
if ($FORM::pid !~ "" ) {
220
debug("PID: $FORM::pid");
221
if ($FORM::pid ne "" ) {
221 222
	my $pid = $FORM::pid;
222 223
	my $metacat = Metacat->new($metacatUrl);
223 224
	my $docid = $metacat->getDocid($pid);

Also available in: Unified diff