Gossamer Forum
Home : Products : Gossamer Links : Discussions :

[BUG] TYPO in Links::User::Page (LSQL2.99)

Quote Reply
[BUG] TYPO in Links::User::Page (LSQL2.99)
GT staff,

There is a TYPO in Links::User::Page (LSQL v2.99), which makes build_category_dynamic config option unusable.

From line 92, Links::User::Page:
Code:
# Now we get the ID number of the category based on the URL.
my $cat_db = $DB->table('Category');
my $id;
if ($CFG->{build_category_dynamic} eq 'ID' or $page =~ /^\d+$/) {
($id) = $page =~ /(\d+)$/;
}
else {
$id = $cat_db->select(ID => { ($CFG->{build_category_dyanmic} || 'Full_Name') => $page })->fetchrow;
}
Please fix it before the LSQL 2.99.1 RC release.

Best regards,
Webmaster33


Paid Support
from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...

Last edited by:

webmaster33: Mar 26, 2005, 4:57 AM
Quote Reply
Re: [webmaster33] [BUG] TYPO in Links::User::Page (LSQL2.99) In reply to
Thanks, it's been corrected.

Adrian
Quote Reply
Re: [brewt] [BUG] TYPO in Links::User::Page (LSQL2.99) In reply to
I didn't find it on the bugfix list.

Best regards,
Webmaster33


Paid Support
from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...