#2843 - My CPF shown when visiting test's profile
| Identifier | #2843 |
|---|---|
| Issue type | Minor issue (breaks specific functionality) |
| Title | My CPF shown when visiting test's profile |
| Status | Closed (no changes needed) |
| Handling member | Chris Graham |
| Addon | cns_cpfs |
| Description | Not sure if this is a bug or if I am missing something obvious. I created a CPF for Last.fm username and managed to use what remains of their API to display my last 10 scrobbled tracks on my profile. However, when I view test's profile, my tracks are displayed there too and the CPF is empty on that account. I would think a CPF would already be tied to a specific member by default but maybe I need to pass something extra in the template other than the CPF_VALUE. I have wrapped it in what I think is the correct tempcode so I shouldn't be showing if that field is empty but it's showing anyway.
{+START,IF_NON_EMPTY,{$CPF_VALUE,51}} ..... (+END} |
| Steps to reproduce | |
| Funded? | No |
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".


Comments
{+START,IF_NON_EMPTY,{$CPF_VALUE,51,{MEMBER_ID}}}
.....
(+END}
PHP NOTICE [8] Undefined variable: _value in sources\symbols.php on line 2251 (version: 10 RC18, PHP version: 5.6.22, URL: /composr/index.php?page=members&type=view&id=2)