From c4f8d65cb2aaa3469e34e676957de574e746d753 Mon Sep 17 00:00:00 2001 From: "Eric J. Bowersox" Date: Thu, 17 Jan 2002 06:52:03 +0000 Subject: [PATCH] small bug in profile display --- scripts/comm/show.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/comm/show.js b/scripts/comm/show.js index 98417be..18d2150 100644 --- a/scripts/comm/show.js +++ b/scripts/comm/show.js @@ -10,7 +10,7 @@ // // The Initial Developer of the Original Code is Eric J. Bowersox , // for Silverwrist Design Studios. Portions created by Eric J. Bowersox are -// Copyright (C) 2001 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved. +// Copyright (C) 2001-02 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved. // // Contributor(s): @@ -30,7 +30,8 @@ try ci = comm.getContactInfo(); rinput.setRequestAttribute("contact.info",ci); rinput.setRequestAttribute("host.profile",comm.getHostProfile()); - rinput.setRequestAttribute("category",comm.getCategory()); + if (rinput.engine.useCategories()) + rinput.setRequestAttribute("category",comm.getCategory()); // determine the last line of the address and save it off buf = null;