After much investigation I think I have discovered a bug. Well I discovered and change in glinksql anyway that is causing me problems.
Basically, if I submit information via a a button like this:
<input type=image name=add value="1" src=/images/mybutton.gif width="50" height="50" border="0" />
What actually gets submitted are these values:
add = 1
add.x = 50
add.y = 50
The last two values are the dimensions of the image being clicked on. (internet exploder doesn't pass in the add=1 value at all, only the dimension values .x and .y.
Now that in and of itself doesn't cause any problems, but if on the receiving page you run a global like this:
sub {
my ($rec) = GT::Template->tags or
my ($rec) = @_;
do some stuff and
return $rec;
}
You will get the following error.
Not a HASH reference at GT::Template line xxx
The problem is being caused by the add.y and add.x values.
This was not a problem in previous versions.
Any suggestions?
peace.
klangan
Basically, if I submit information via a a button like this:
<input type=image name=add value="1" src=/images/mybutton.gif width="50" height="50" border="0" />
What actually gets submitted are these values:
add = 1
add.x = 50
add.y = 50
The last two values are the dimensions of the image being clicked on. (internet exploder doesn't pass in the add=1 value at all, only the dimension values .x and .y.
Now that in and of itself doesn't cause any problems, but if on the receiving page you run a global like this:
sub {
my ($rec) = GT::Template->tags or
my ($rec) = @_;
do some stuff and
return $rec;
}
You will get the following error.
Not a HASH reference at GT::Template line xxx
The problem is being caused by the add.y and add.x values.
This was not a problem in previous versions.
Any suggestions?
peace.
klangan