IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 3, 2008, 3:10:31 PM (18 years ago)
Author:
Paul Price
Message:

Was testing whether the MD item existed, not whether it had a proper value.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppSub/src/ppSubArguments.c

    r20506 r20517  
    8484    bool mdok;                          // Status of MD lookup
    8585    psString value = psMetadataLookupStr(&mdok, arguments, argName); // Value of interest
    86     if (!mdok) {
     86    if (!value) {
    8787        value = psMetadataLookupStr(&mdok, recipe, mdName);
    88         if (!mdok) {
     88        if (!value) {
    8989            psError(PS_ERR_BAD_PARAMETER_VALUE, true, "Unable to find %s in recipe %s",
    9090                    mdName, PPSUB_RECIPE);
Note: See TracChangeset for help on using the changeset viewer.