Commit 1e50a58f authored by Florido Paganelli's avatar Florido Paganelli

Fixed a rendering problem in prioritizedvalues function that would generate...

Fixed a rendering problem in prioritizedvalues function that would generate empty attribute values in XML which in turn would cause the client to spit out many errors per Share
parent caae2cde
......@@ -29,7 +29,7 @@ sub prioritizedvalues {
}
# just in case all the above fails, return empty string
$log->debug("No suitable value found in call to prioritizedvalues. Returning empty string");
$log->debug("No suitable value found in call to prioritizedvalues. Returning undefined");
return undef;
}
......
......@@ -666,8 +666,8 @@ sub prioritizedvalues {
}
# just in case all the above fails, log and return empty string
$log->debug("No suitable value found in call to prioritizedvalues. Returning empty string");
return '';
$log->debug("No suitable value found in call to prioritizedvalues. Returning undefined");
return undef;
}
# TODO: add VOs information
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment