aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/tpl')
-rw-r--r--view/tpl/profile_photo.tpl2
-rw-r--r--view/tpl/smarty3/profile_photo.tpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/view/tpl/profile_photo.tpl b/view/tpl/profile_photo.tpl
index 282e890c8..49323e01c 100644
--- a/view/tpl/profile_photo.tpl
+++ b/view/tpl/profile_photo.tpl
@@ -12,7 +12,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-input" >
{{ for $profiles as $p }}
-<option value="$p.id" {{ if $p.default }}selected="selected"{{ endif }}>$p.name</option>
+<option value="$p.id" {{ if $p.pdefault }}selected="selected"{{ endif }}>$p.name</option>
{{ endfor }}
</select>
<div class="clear"></div>
diff --git a/view/tpl/smarty3/profile_photo.tpl b/view/tpl/smarty3/profile_photo.tpl
index dee2471cf..f13dee26e 100644
--- a/view/tpl/smarty3/profile_photo.tpl
+++ b/view/tpl/smarty3/profile_photo.tpl
@@ -17,7 +17,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-input" >
{{foreach $profiles as $p}}
-<option value="{{$p.id}}" {{if $p.default}}selected="selected"{{/if}}>{{$p.name}}</option>
+<option value="{{$p.id}}" {{if $p.pdefault}}selected="selected"{{/if}}>{{$p.name}}</option>
{{/foreach}}
</select>
<div class="clear"></div>