diff options
| author | Christian Fowler <spider@viovio.com> | 2009-10-29 19:14:20 +0000 |
|---|---|---|
| committer | Christian Fowler <spider@viovio.com> | 2009-10-29 19:14:20 +0000 |
| commit | 834d4fb4fef34a39e2d2aa50d210de934a76c705 (patch) | |
| tree | 14aa0b39c7f92cc26520ab1cbbdef3d7774b2b81 /templates/edit_storage_list.tpl | |
| parent | 3dbc36f7b26870f88cf4159e3ad07e0ac74729a7 (diff) | |
| download | liberty-834d4fb4fef34a39e2d2aa50d210de934a76c705.tar.gz liberty-834d4fb4fef34a39e2d2aa50d210de934a76c705.tar.bz2 liberty-834d4fb4fef34a39e2d2aa50d210de934a76c705.zip | |
set primary_attachment_id in mInfo from mStorage, and standardize on that in edit tpls
Diffstat (limited to 'templates/edit_storage_list.tpl')
| -rw-r--r-- | templates/edit_storage_list.tpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/edit_storage_list.tpl b/templates/edit_storage_list.tpl index 3935249..3d1cf6a 100644 --- a/templates/edit_storage_list.tpl +++ b/templates/edit_storage_list.tpl @@ -118,7 +118,7 @@ <td class="actionicon"> <label> {tr}No {$primary_label|default:"Primary"}{/tr}: - <input type="radio" name="liberty_attachments[primary]" value="none" {if empty($gContent->mInfo[primary])}checked="checked"{/if} /> + <input type="radio" name="liberty_attachments[primary]" value="none" {if !$gContent->getField('primary_attachment_id')}checked="checked"{/if} /> </label> </td> </tr> |
