From 892e0bb3817788ed6eaa046fb314ace8cb2f2e55 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Mon, 24 Jun 2019 14:48:27 +0100 Subject: [PATCH] Bug 23034: (RM follow-up) Consistent coding style We had a mix of q||, q{} and '' in this one script. This followup just makes them all conform to our standard style of q{}. Signed-off-by: Martin Renvoize (cherry picked from commit 4dc64b4b124abf4bd2437004879e083972e20492) Signed-off-by: Fridolin Somers --- admin/share_content.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/admin/share_content.pl b/admin/share_content.pl index 4f46316e55..46f270e9e3 100755 --- a/admin/share_content.pl +++ b/admin/share_content.pl @@ -38,10 +38,10 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( } ); -my $op = $query->param('op') || q||; +my $op = $query->param('op') || q{}; if ( $op eq 'save' ) { - my $auto_share = $query->param('autosharewithmana') || q||; + my $auto_share = $query->param('autosharewithmana') || q{}; my $mana = $query->param('mana'); C4::Context->set_preference('Mana', $mana); @@ -78,7 +78,7 @@ if ( $op eq 'send' ) { } -my $mana_url = C4::Context->config('mana_config') || ''; +my $mana_url = C4::Context->config('mana_config') || q{}; $template->param( mana_url => $mana_url, -- 2.39.5