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: 1633 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.