Loading...
 
Development

Development


Chat bugfix

posts: 2

Since I can't figure out how to contribute a bug fix the right way, I'll post it here. Maybe someone can explain how to properly submit bug fixes.

Problem: In the chat module, any post that contains the ' character (apostrophe) will not display.

Fix: in approximately line 60 of the file tiki-chat_loader.php, change the line:

$parsed = $tikilib->parse_comment_data$msg%22data%22;

to:

$parsed = $tikilib->parse_comment_datastr_replace("'", "\'", $msg%22data%22);


This replaces the ' character with \' prior to printing it, which fixes the bug.

Jake

posts: 1630 Canada

Hi!

The best is to get CVS access and to commit this fix directly to the source code.

Otherwise, you can provide a bug report & fix (patch) on dev.tikiwiki.org

Thanks!

M ;-)


posts: 2
What is CVS access, and how do I get it.


Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting