Bug in site/controllers/phocaguestbook.php
Posted: 23 Oct 2011, 22:18
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!
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!