aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Fripost/Panel
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Fripost/Panel')
-rw-r--r--lib/Fripost/Panel/Interface.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Fripost/Panel/Interface.pm b/lib/Fripost/Panel/Interface.pm
index e253ca0..7b172af 100644
--- a/lib/Fripost/Panel/Interface.pm
+++ b/lib/Fripost/Panel/Interface.pm
@@ -337,7 +337,7 @@ sub EditLocal : Runmode {
(defined $q->param('a') and $q->param('a') eq 'delete'));
$template->param( newChanges => $news );
$template->param( error => encode_entities ($error, "‘‘") ) if $error;
- $template->param( canDelete => 1 ); # TODO
+ $template->param( canDelete => 1 ) if $t eq 'alias'; # TODO
$q->delete('a');
return $template->output;
}