From ed58ac6c50b5cafa86d03925b6eb14357c2e7a20 Mon Sep 17 00:00:00 2001 From: "Matteo Nastasi (mop)" Date: Sun, 14 Dec 2008 10:48:32 +0000 Subject: [PATCH] single to double quote to embrace strings --- web/Obj/brisk.phh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 .= ' ]'; -- 2.17.1