From ba78a71e3f5bd4a28250628421616ba9c704c74a Mon Sep 17 00:00:00 2001 From: Nick Palmer Date: Wed, 18 Apr 2007 12:23:01 +0000 Subject: CRITICAL UPDATE! Fix horked attachment changes. Sorry guys! --- templates/edit_storage_list.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates') diff --git a/templates/edit_storage_list.tpl b/templates/edit_storage_list.tpl index 3445233..6e76f13 100644 --- a/templates/edit_storage_list.tpl +++ b/templates/edit_storage_list.tpl @@ -29,9 +29,9 @@
Actions: {if $gBitUser->isAdmin() || $gBitUser->hasPermission( 'p_liberty_detach_attachment' ) || $storage.user_id == $gBitUser->mUserId} - {if isset($gContent) } + {if isset($gContent->mContentId) } {biticon ipackage=icons iname="edit-cut" iexplain="detach"} - {else} + {elseif !$libertyUploader} {biticon ipackage=icons iname="edit-cut" iexplain="detach"} {/if} {/if} -- cgit v1.3