[Koha-bugs] [Bug 26142] New: variable used has hashref when they are objects

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Aug 5 11:49:18 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26142

            Bug ID: 26142
           Summary: variable used has hashref when they are objects
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Mana-kb
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: jonathan.druart at bugs.koha-community.org
                CC: alex.arnaud at biblibre.com
        Depends on: 17047

>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.


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17047
[Bug 17047] Mana Knowledge Base : Data sharing
-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list