Bug in site/controllers/phocaguestbook.php

Phoca Guestbook - creating guestbooks in Joomla! CMS
guestbookuser
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 23 Oct 2011, 22:09

Bug in site/controllers/phocaguestbook.php

Post by guestbookuser »

I think there is a bug in

site/controllers/phocaguestbook.php

lines 245 and 282

$post2['title'] has to be replaced with $post2['username']

(I guess you want to allow characters like " ' " in the subject)

Version : 2.0.1

Thanks for the work!

(BTW: I forced the language with another patch to '*' because in general it does not make sense to have guestbook entries in different languages. Usually you want to read all entries in THE guestbook on your site, even if you support various languages. I think there was already an entry about this somewhere in the forum)

Cheers and best wishes!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48739
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Bug in site/controllers/phocaguestbook.php

Post by Jan »

Hi, I will take a look at it.

Jan
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48739
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Bug in site/controllers/phocaguestbook.php

Post by Jan »

Hi, should be ok in 2.0.2

Jan
If you find Phoca extensions useful, please support the project
Post Reply