From: <re...@us...> - 2003-05-23 00:21:42
|
Update of /cvsroot/tikiwiki/tiki/lib/chat In directory sc8-pr-cvs1:/tmp/cvs-serv4378/lib/chat Modified Files: Tag: release_tauceti-bugfixes chatlib.php Log Message: Fixed Bugs: 741745 741611 741595 741098 741323 Thanks to: Sylvie Greverend (sylvieg), Chris Holman (chris_holman), daaave (daaave) Jan Docekal (docekal) Index: chatlib.php =================================================================== RCS file: /cvsroot/tikiwiki/tiki/lib/chat/chatlib.php,v retrieving revision 1.2 retrieving revision 1.2.2.1 diff -u -d -r1.2 -r1.2.2.1 --- chatlib.php 21 Mar 2003 22:46:38 -0000 1.2 +++ chatlib.php 23 May 2003 00:21:36 -0000 1.2.2.1 @@ -168,6 +168,8 @@ function replace_channel($channelId, $name, $description, $max_users, $mode, $active,$refresh) { + $description=addslashes($description); + $name=addslashes($name); if($channelId) { $query = "update tiki_chat_channels set name='$name',description='$description',refresh=$refresh,max_users=$max_users,mode='$mode',active='$active' where channelId=$channelId"; } else { @@ -189,4 +191,4 @@ } $chatlib= new ChatLib($dbTiki); -?> \ No newline at end of file +?> |