Ignore:
Timestamp:
2000-02-14T09:40:05+13:00 (24 years ago)
Author:
sjboddie
Message:

now dm_safe _thisOID_ macro

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/recpt/documentaction.cpp

    r870 r921  
    2828/*
    2929   $Log$
     30   Revision 1.33  2000/02/13 20:40:05  sjboddie
     31   now dm_safe _thisOID_ macro
     32
    3033   Revision 1.32  2000/01/25 22:39:15  sjboddie
    3134   added DocumentUseHTML - tidied some things up (and messed up some others)
     
    164167#include "querytools.h"
    165168#include "unitool.h"
     169#include "htmlutils.h"
    166170
    167171documentaction::documentaction () {
     
    738742
    739743      if (is_top (arg_d))
    740     disp.setmacro ("thisOID", "Global", response.docInfo[0].metadata["archivedir"].values[0]);
     744    disp.setmacro ("thisOID", "Global", dm_safe(response.docInfo[0].metadata["archivedir"].values[0]));
    741745      else {
    742746    MetadataInfo_t *parentad = response.docInfo[0].metadata["archivedir"].parent;
     
    746750      parentad = parentad->parent;
    747751    }
    748     disp.setmacro ("thisOID", "Global", thisOID);
     752    disp.setmacro ("thisOID", "Global", dm_safe(thisOID));
    749753      }
    750754     
Note: See TracChangeset for help on using the changeset viewer.