diff --git a/include/class_html_input.php b/include/class_html_input.php
index a94607265..e66ca4c7d 100755
--- a/include/class_html_input.php
+++ b/include/class_html_input.php
@@ -444,10 +444,10 @@ class HtmlInput
*/
static function card_detail($p_qcode,$pname='',$p_style="")
{
- if ($pname=='')$pname=$p_qcode;
+ //if ($pname=='')$pname=$p_qcode;
$r="";
- $r.=sprintf('%s[%s]',
- $p_qcode,$pname,$p_qcode,$p_style);
+ $r.=sprintf('%s [%s]',
+ $p_style,$p_qcode,$pname,$p_qcode);
return $r;
}
/**