From: Matteo Nastasi (mop) Date: Sun, 14 Dec 2008 10:48:32 +0000 (+0000) Subject: single to double quote to embrace strings X-Git-Tag: 3.0.0~176 X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=commitdiff_plain;h=ed58ac6c50b5cafa86d03925b6eb14357c2e7a20;p=brisk.git single to double quote to embrace strings --- diff --git a/web/Obj/brisk.phh b/web/Obj/brisk.phh index 6b30672..622132c 100644 --- a/web/Obj/brisk.phh +++ b/web/Obj/brisk.phh @@ -2018,7 +2018,7 @@ class Room { $flags |= 1; } - $content .= sprintf('%s[ %d, \'%s\' ]',($ct > 0 ? ', ' : ''), $flags, xcape($this->user[$e]->name)); + $content .= sprintf('%s[ %d, "%s" ]',($ct > 0 ? ', ' : ''), $flags, xcape($this->user[$e]->name)); $ct++; } } @@ -2091,7 +2091,7 @@ class Room { log_main($user_cur->name. sprintf(" IN TABLE [%d]", $table_idx)); - $content .= sprintf('%s[ %d, \'%s\' ]',($i == 0 ? '' : ', '), $flags, xcape($user_cur->name)); + $content .= sprintf('%s[ %d, "%s" ]',($i == 0 ? '' : ', '), $flags, xcape($user_cur->name)); } $content .= ' ]';