File tree Expand file tree Collapse file tree 1 file changed +15
-13
lines changed Expand file tree Collapse file tree 1 file changed +15
-13
lines changed Original file line number Diff line number Diff line change @@ -6982,19 +6982,21 @@ public function build_action_menu(
6982
6982
])
6983
6983
);
6984
6984
6985
- $actionsLeft .= Display::url(
6986
- Display::return_icon(
6987
- 'upload_audio.png',
6988
- get_lang('UpdateAllAudioFragments'),
6989
- '',
6990
- ICON_SIZE_MEDIUM
6991
- ),
6992
- 'lp_controller.php?'.api_get_cidreq().'&'.http_build_query([
6993
- 'action' => 'admin_view',
6994
- 'lp_id' => $lpId,
6995
- 'updateaudio' => 'true',
6996
- ])
6997
- );
6985
+ if (!$noEdition) {
6986
+ $actionsLeft .= Display::url(
6987
+ Display::return_icon(
6988
+ 'upload_audio.png',
6989
+ get_lang('UpdateAllAudioFragments'),
6990
+ '',
6991
+ ICON_SIZE_MEDIUM
6992
+ ),
6993
+ 'lp_controller.php?'.api_get_cidreq().'&'.http_build_query([
6994
+ 'action' => 'admin_view',
6995
+ 'lp_id' => $lpId,
6996
+ 'updateaudio' => 'true',
6997
+ ])
6998
+ );
6999
+ }
6998
7000
6999
7001
$subscriptionSettings = self::getSubscriptionSettings();
7000
7002
$request = api_request_uri();
You can’t perform that action at this time.
0 commit comments