fixed a problem where the help was pulling non-english ids to generate the next available id.
This commit is contained in:
parent
ae49c3f95d
commit
b1164d59a9
1 changed files with 1 additions and 1 deletions
|
|
@ -148,7 +148,7 @@ sub www_editHelpSave {
|
||||||
$session{form}{namespace} = $session{form}{namespace_new};
|
$session{form}{namespace} = $session{form}{namespace_new};
|
||||||
}
|
}
|
||||||
($session{form}{titleId}) = WebGUI::SQL->quickArray("select max(internationalId) from international
|
($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}{titleId}++;
|
||||||
$session{form}{bodyId} = $session{form}{titleId}+1;
|
$session{form}{bodyId} = $session{form}{titleId}+1;
|
||||||
($session{form}{hid}) = WebGUI::SQL->quickArray("select max(helpId) from help
|
($session{form}{hid}) = WebGUI::SQL->quickArray("select max(helpId) from help
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue