fixed bugs

This commit is contained in:
JT Smith 2004-09-11 15:37:31 +00:00
parent 6b77e587c8
commit 6afe9da116
3 changed files with 17 additions and 2 deletions

View file

@ -1,11 +1,14 @@
6.2.2
- Made a dramatic performance enhancement to the page tree system by
restructuring an overused, and inefficent method.
- Added a gotcha warning about setting the TZ environment variable on Windows
systems.
- bugfix [1024275]. Drag and drop not working (Leendert Bottelberghs).
- bugfix [ 1025671 ] Crash on manage page tree. (Leendert Bottelberghs)
- bugfix [ 1025271 ] Cut page not working. (Leendert Bottelberghs)
- bugfix [ 1024643 ] Unknown column error. (Leendert Bottelberghs)
- bugfix [ 1025120 ] Pagination in forum thread doesn't work. New default thread template. (Leendert Bottelberghs)
- Fixed a bug where you couldn't delete templates.
6.2.1

View file

@ -7,6 +7,18 @@ upgrading from one version to the next, or even between multiple
versions. Be sure to heed the warnings contained herein as they will
save you many hours of grief.
6.2.2
--------------------------------------------------------------------
* If you're on a Windows environment and upgrading to 6.2 you'll
need to set a TZ environment variable. Our recommendation is
to set the variable like follows
TZ = EST5EDT
If your first install is the WebGUI 6.2 zip-n-go then you
won't need to do this, as the installer will do it for you.
6.2.0
--------------------------------------------------------------------
* WebGUI now requires Time::HiRes to operate. Be sure to have it

View file

@ -67,7 +67,7 @@ sub www_copyTemplate {
#-------------------------------------------------------------------
sub www_deleteTemplate {
my ($output);
if ($session{form}{tid} < 1000 && $session{form}{tid} > 0) {
if ($session{form}{tid} =~ /^\d+$/ && $session{form}{tid} < 1000 && $session{form}{tid} > 0) {
return WebGUI::Privilege::vitalComponent();
} elsif (WebGUI::Grouping::isInGroup(8)) {
$output .= helpIcon("template delete");
@ -88,7 +88,7 @@ sub www_deleteTemplate {
#-------------------------------------------------------------------
sub www_deleteTemplateConfirm {
my ($a, $pageId);
if ($session{form}{tid} < 1000 && $session{form}{tid} > 1000) {
if ($session{form}{tid} =~ /^\d+$/ && $session{form}{tid} < 1000 && $session{form}{tid} > 0) {
return WebGUI::Privilege::vitalComponent();
} elsif (WebGUI::Grouping::isInGroup(8)) {
if ($session{form}{namespace} eq "Page") {