Skip to main content
Topic: [RC1] Undefined index: userpicpersonal (Read 1588 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[RC1] Undefined index: userpicpersonal

Error: Undefined
8: Undefined index: userpicpersonal
http://elkarte.hybrid-piloten.de/index.php?action=profile;area=forumprofile;u=915
File: /www/htdocs/w00f21f1/elkarte/sources/subs/Profile.subs.php
Row: 2049

This user is using the standard avatar/userpic.

Re: [RC1] Undefined index: userpicpersonal

Reply #1

I can't reproduce this one on my local ... 

We can protect against it with an isset($_POST['userpicpersonal']) && in the two statements @emanuele what do you think?

Re: [RC1] Undefined index: userpicpersonal

Reply #2

I guess the error is present when allow_external is false.

Yeah, isset on the $_POST, or include the $valid_http and $valid_https in to an:
Code: [Select]
if ($value == 'external')
since those two seem to be relevant only in this case.
Bugs creator.
Features destroyer.
Template killer.