X-Git-Url: http://p2p-next.cs.pub.ro/gitweb/?a=blobdiff_plain;f=application%2Fviews%2Fuser%2Fregister_view.php;h=e038dfc2aabb89d421a5d9990d8860a7b7ad5273;hb=8889adf32898adeff7a85cc040f5f409d3bce36c;hp=419353a07dcde28c98dc994d13e0e105a58b4ea8;hpb=6db375a0706b5328fbd53be4dd2e517c96560ea6;p=living-lab-site.git diff --git a/application/views/user/register_view.php b/application/views/user/register_view.php index 419353a..e038dfc 100644 --- a/application/views/user/register_view.php +++ b/application/views/user/register_view.php @@ -7,7 +7,7 @@ function _set_value($userdata, $field, $default = '') return $post_value; return ($post_value === $default - ? $userdata[ str_replace('-','_',$field) ] + ? ''.$userdata[ str_replace('-','_',$field) ] : $post_value); } @@ -17,10 +17,10 @@ else echo form_open_multipart("user/account/$redirect"); ?> - +