Created
April 26, 2012 05:02
-
-
Save suin/2496086 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git diff templates/profile_inc_data_edit.html | |
diff --git a/html/modules/profile/templates/profile_inc_data_edit.html b/html/modules/profile/templates/profile_inc_data_edit.html | |
index a354763..657a917 100644 | |
--- a/html/modules/profile/templates/profile_inc_data_edit.html | |
+++ b/html/modules/profile/templates/profile_inc_data_edit.html | |
@@ -21,7 +21,7 @@ | |
<{elseif $def->get('type')=="selectbox"}> | |
<select name="<{$def->getShow('field_name')}>" id="legacy_xoopsform_<{$def->getShow('field_name')}>"> | |
<{foreach item=option from=$def->mFieldType->getOption($def)}> | |
- <option value="<{$option}>"<{if $profile->get($def->getShow('field_name'))==$option}> selected="selected"<{/if}>><{$option}></option> | |
+ <option value="<{$option}>"<{if $profileForm->get($def->getShow('field_name'))==$option}> selected="selected"<{/if}>><{$option}></option> | |
<{/foreach}> | |
</select> | |
<{elseif $def->get('type')=="uri"}> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment