diff options
author | friendica <info@friendica.com> | 2013-02-10 19:54:43 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-02-10 19:54:43 -0800 |
commit | 32d07c3df72ad12dae62f9d5f5d2a3f3c8f4ed7d (patch) | |
tree | ac287882b6079bcc0c2a69b01cae6a3dd036d5c2 /view/tpl/smarty3/profile_photo.tpl | |
parent | b92cdd2a271966fb7d7bf78b100140a5c65e6fde (diff) | |
download | volse-hubzilla-32d07c3df72ad12dae62f9d5f5d2a3f3c8f4ed7d.tar.gz volse-hubzilla-32d07c3df72ad12dae62f9d5f5d2a3f3c8f4ed7d.tar.bz2 volse-hubzilla-32d07c3df72ad12dae62f9d5f5d2a3f3c8f4ed7d.zip |
fix profile selector on profile_photo page (unquoted mysql reserved word 'default')
Diffstat (limited to 'view/tpl/smarty3/profile_photo.tpl')
-rw-r--r-- | view/tpl/smarty3/profile_photo.tpl | 2 |
1 files changed, 1 insertions, 1 deletions
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> |