Bug 26142

Summary: variable used has hashref when they are objects
Product: Koha Reporter: Jonathan Druart <jonathan.druart>
Component: Mana-kbAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P5 - low CC: alex.arnaud
Version: unspecified   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 17047    
Bug Blocks:    

Description Jonathan Druart 2020-08-05 09:49:18 UTC
From commit cb01b253308060bad942723413feef1fd70825fd
     Bug 17047: SQL reports management with Mana-KB

         'notes'      => $report->notes,
         'sql'     => $report->savedsql,
         'showsql' => 1,
+        'mana_success' => $input->param('mana_success'),
+        'mana_success' => scalar $input->param('mana_success'),
+        'mana_id' => $report->{mana_id},
+        'mana_comments' => $report->{comments}

No idea what's the side-effect here but this code is wrong.