aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/profile_photo.tpl
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-02-24 13:20:59 -0800
committerzotlabs <mike@macgirvin.com>2018-02-24 13:20:59 -0800
commit3153129e2eb968a189a8a7050d06892cbc13c651 (patch)
tree0c5b10085e686cb104616a48577a25ecaee0d579 /view/tpl/profile_photo.tpl
parente6f9f284bf04f0dc0471fa08d7dac118effe4ccb (diff)
downloadvolse-hubzilla-3153129e2eb968a189a8a7050d06892cbc13c651.tar.gz
volse-hubzilla-3153129e2eb968a189a8a7050d06892cbc13c651.tar.bz2
volse-hubzilla-3153129e2eb968a189a8a7050d06892cbc13c651.zip
make the profile photo image picker work correctly with multiple profiles.
Diffstat (limited to 'view/tpl/profile_photo.tpl')
-rwxr-xr-xview/tpl/profile_photo.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/profile_photo.tpl b/view/tpl/profile_photo.tpl
index 1f468c2e5..832f135f3 100755
--- a/view/tpl/profile_photo.tpl
+++ b/view/tpl/profile_photo.tpl
@@ -27,7 +27,7 @@
<label id="profile-photo-profiles-label" class="form-label" for="profile-photo-profiles">{{$lbl_profiles}}</label>
<select name="profile" id="profile-photo-profiles" class="form-control" >
{{foreach $profiles as $p}}
- <option value="{{$p.id}}" {{if $p.is_default}}selected="selected"{{/if}}>{{$p.name}}</option>
+ <option value="{{$p.id}}" {{if $p.selected}}selected="selected"{{/if}}>{{$p.name}}</option>
{{/foreach}}
</select>
<div class="clear"></div>