From: Martin Renvoize Date: Mon, 24 Jun 2019 13:48:27 +0000 (+0100) Subject: Bug 23034: (RM follow-up) Consistent coding style X-Git-Url: http://git.equinoxoli.org/?p=koha-equinox.git;a=commitdiff_plain;h=4dc64b4b124abf4bd2437004879e083972e20492 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 --- diff --git a/admin/share_content.pl b/admin/share_content.pl index 4f46316..46f270e 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,