From b1164d59a9dfbbb25e3596ec8d9c4bfcbae54c9d Mon Sep 17 00:00:00 2001 From: JT Smith Date: Wed, 16 Apr 2003 00:58:50 +0000 Subject: [PATCH] fixed a problem where the help was pulling non-english ids to generate the next available id. --- lib/WebGUI/Operation/Help.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/WebGUI/Operation/Help.pm b/lib/WebGUI/Operation/Help.pm index b725995fe..c2bd3c7a1 100644 --- a/lib/WebGUI/Operation/Help.pm +++ b/lib/WebGUI/Operation/Help.pm @@ -148,7 +148,7 @@ sub www_editHelpSave { $session{form}{namespace} = $session{form}{namespace_new}; } ($session{form}{titleId}) = WebGUI::SQL->quickArray("select max(internationalId) from international - where namespace=".quote($session{form}{namespace})); + where namespace=".quote($session{form}{namespace})." and languageId=1"); $session{form}{titleId}++; $session{form}{bodyId} = $session{form}{titleId}+1; ($session{form}{hid}) = WebGUI::SQL->quickArray("select max(helpId) from help