diff options
author | Mario <mario@mariovavti.com> | 2025-05-08 10:35:32 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2025-05-08 10:35:32 +0000 |
commit | 8f539e3707f0b6fbb7552ee408446962186e94bf (patch) | |
tree | 85543b34524571ee81ca6cdcfedccdcc7be7ca24 /Zotlabs/Module | |
parent | 918377a67b2e46f983281d6dec4f9732b977d6b5 (diff) | |
download | volse-hubzilla-8f539e3707f0b6fbb7552ee408446962186e94bf.tar.gz volse-hubzilla-8f539e3707f0b6fbb7552ee408446962186e94bf.tar.bz2 volse-hubzilla-8f539e3707f0b6fbb7552ee408446962186e94bf.zip |
fix announce action label and modal not closing
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r-- | Zotlabs/Module/Request.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Request.php b/Zotlabs/Module/Request.php index 527ab0055..bfd75ad95 100644 --- a/Zotlabs/Module/Request.php +++ b/Zotlabs/Module/Request.php @@ -66,7 +66,7 @@ class Request extends Controller if ($commentable) { $ret['action'] = (($verb === 'Announce') ? 'jotShare' : 'dolike'); - $ret['action_label'] = ((find_xchan_in_array($observer_hash, $ret['result'])) ? t('- Remove yours') : t('+ Add yours')); + $ret['action_label'] = ((find_xchan_in_array($observer_hash, $ret['result'])) ? (($verb === 'Announce') ? t('+ Repeat again') : t('- Remove yours')) : t('+ Add yours')); } $ret['title'] = $text['label']; |