Hi Adrian,
I've tested this in GLinks 3.3 with all updates installed!
The problem comes up when _check_update this is run in admin/Links/User/Modify.pm, line 416:
before:
for my $key (keys %cols) {
next if not exists $new->{$key} or $key eq 'ID';
delete $new->{$key} if $new->{$key} eq (defined $link->{$key} ? $link->{$key} : '');
}
If i put the empty input check before _check_update everything works as expected.
Cheers,
Boris
Facebook, Twitter and Google+ Auth for GLinks and GCommunity | reCAPTCHA for GLinks | Free GLinks Plugins
I've tested this in GLinks 3.3 with all updates installed!
The problem comes up when _check_update this is run in admin/Links/User/Modify.pm, line 416:
Code:
$db->_check_update($new, { ID => $new->{ID} }) or return { error => $GT::SQL::error, %ret };before:
Code:
# Remove any columns which haven't changed for my $key (keys %cols) {
next if not exists $new->{$key} or $key eq 'ID';
delete $new->{$key} if $new->{$key} eq (defined $link->{$key} ? $link->{$key} : '');
}
If i put the empty input check before _check_update everything works as expected.
Cheers,
Boris
Facebook, Twitter and Google+ Auth for GLinks and GCommunity | reCAPTCHA for GLinks | Free GLinks Plugins